diff options
author | Ted Gould <ted@gould.cx> | 2010-09-07 18:36:02 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-09-07 18:36:02 -0500 |
commit | d18fdf612dd29c64d43d8f39c9a53d62f562943a (patch) | |
tree | 1741c099685c6f7fe3067e311c1fd6ecd89a7d8b | |
parent | 7b3e58bb6039478f0d937ab375271c724d317b56 (diff) | |
download | ayatana-indicator-application-d18fdf612dd29c64d43d8f39c9a53d62f562943a.tar.gz ayatana-indicator-application-d18fdf612dd29c64d43d8f39c9a53d62f562943a.tar.bz2 ayatana-indicator-application-d18fdf612dd29c64d43d8f39c9a53d62f562943a.zip |
Logging status change
-rw-r--r-- | src/application-service-appstore.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index d5f9a81..d2200e7 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -72,6 +72,8 @@ typedef enum { VISIBLE_STATE_SHOWN } visible_state_t; +#define STATE2STRING(x) ((x) == VISIBLE_STATE_HIDDEN ? "hidden" : "visible") + typedef struct _Approver Approver; struct _Approver { DBusGProxy * proxy; @@ -600,6 +602,8 @@ apply_status (Application * app) return; } + g_debug("Changing app state '%s' to %s", app->id, STATE2STRING(goal_state)); + /* This means we're going off line */ if (goal_state == VISIBLE_STATE_HIDDEN) { gint position = get_position(app); |