Need API to set global application state (busy, counters, ...)
@cosimoc
Submitted by Cosimo Cecchi Link to original bug (#672018)
Description
It seems to be desirable to have API allowing clients to export an application state to the shell. Ryan agreed on IRC this is something belonging to GApplication/GtkApplication.
For example
- busy: specifies the application is performing a long operation. The shell can show e.g. a spinner next to the application name
- counters: specifies the application has X new items. This can be used by the shell to compose an emblem with the counter over the application icon
- progress: specifies the application has an ongoing transfer. The shell could compose a progressbar over the application icon to display task completion. This would probably need a bit more of thinking to cope with multiple operations going on at the same, or in different windows of the same application.
Version: 2.31.x