aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-09-07 19:21:43 -0500
committerTed Gould <ted@gould.cx>2010-09-07 19:21:43 -0500
commit01ca0dc5240367fe714116a42917a9c349f98a83 (patch)
treead6f72bc0493dbc636789002f1cc88c117fbc57a /src
parentd18fdf612dd29c64d43d8f39c9a53d62f562943a (diff)
downloadlibayatana-appindicator-01ca0dc5240367fe714116a42917a9c349f98a83.tar.gz
libayatana-appindicator-01ca0dc5240367fe714116a42917a9c349f98a83.tar.bz2
libayatana-appindicator-01ca0dc5240367fe714116a42917a9c349f98a83.zip
Extra debugging info
Diffstat (limited to 'src')
-rw-r--r--src/application-service-appstore.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index d2200e7..eaaec6b 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -487,6 +487,7 @@ get_position (Application * app) {
}
if (lapp == NULL) {
+ g_warning("Unable to find position for app '%s'", app->id);
return -1;
}
@@ -499,6 +500,7 @@ static void
application_free (Application * app)
{
if (app == NULL) return;
+ g_debug("Application free '%s'", app->id);
/* Handle the case where this could be called by unref'ing one of
the proxy objects. */
@@ -556,6 +558,7 @@ static void
application_removed_cb (DBusGProxy * proxy, gpointer userdata)
{
Application * app = (Application *)userdata;
+ g_debug("Application proxy destroyed '%s'", app->id);
/* Remove from the panel */
app->status = APP_INDICATOR_STATUS_PASSIVE;
@@ -602,7 +605,7 @@ apply_status (Application * app)
return;
}
- g_debug("Changing app state '%s' to %s", app->id, STATE2STRING(goal_state));
+ g_debug("Changing app '%s' state from %s to %s", app->id, STATE2STRING(app->visible_state), STATE2STRING(goal_state));
/* This means we're going off line */
if (goal_state == VISIBLE_STATE_HIDDEN) {