diff options
author | Michael Terry <mike@mterry.name> | 2011-01-13 16:44:56 -0600 |
---|---|---|
committer | Michael Terry <mike@mterry.name> | 2011-01-13 16:44:56 -0600 |
commit | 3992c9502a903355cda58772ec01fefb7d5ec6b7 (patch) | |
tree | 32481ac55924093de18502f520330dc044c413c1 | |
parent | 520b3c3355ab14330eaf99d54816829be7c65fe8 (diff) | |
download | ayatana-indicator-application-3992c9502a903355cda58772ec01fefb7d5ec6b7.tar.gz ayatana-indicator-application-3992c9502a903355cda58772ec01fefb7d5ec6b7.tar.bz2 ayatana-indicator-application-3992c9502a903355cda58772ec01fefb7d5ec6b7.zip |
reduce debug spew
-rw-r--r-- | src/application-service-appstore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 9f6dbdd..7d649f3 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -448,8 +448,6 @@ got_all_properties (GObject * source_object, GAsyncResult * res, app->icon = g_variant_dup_string(icon_name, NULL); app->menu = g_variant_dup_string(menu, NULL); - g_debug("Changing app '%s' icon to %s", app->id, app->icon); - /* Now the optional properties */ if (aicon_name != NULL) { @@ -770,7 +768,9 @@ apply_status (Application * app) return; } - g_debug("Changing app '%s' state from %s to %s", app->id, STATE2STRING(app->visible_state), STATE2STRING(goal_state)); + if (app->visible_state != 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) { |