application: introduce methods to mark the application as busy
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 3 Apr 2013 18:12:03 +0000 (14:12 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 4 Apr 2013 17:13:53 +0000 (13:13 -0400)
commitdb325cd6a3ed3e95d497d7a4087c0f37f155ef01
tree5270f039e046e3a8876964ff4f31451fd251735a
parent96f7e6d70b7b7aa915e471d5ee5f5bc2a6637af9
application: introduce methods to mark the application as busy

This feature is intended for clients that want to signal a desktop shell
their busy state, for instance because a long-running operation is
pending.
The API works in a similar way to g_application_hold and
g_application_release: applications can call g_application_mark_busy()
to increase a counter that will keep the application marked as busy
until the counter reaches zero again.

The busy state is exported read-only on the org.gtk.Application interface
for clients to use.

https://bugzilla.gnome.org/show_bug.cgi?id=672018
docs/reference/gio/gio-sections.txt
gio/gapplication.c
gio/gapplication.h
gio/gapplicationimpl-dbus.c
gio/gapplicationimpl.h