aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-06 10:01:17 -0800
committerTed Gould <ted@gould.cx>2010-02-06 10:01:17 -0800
commitc2e186c250b9a9b067a0c8d759b64ebebcda55d1 (patch)
treec59aa13be4828bbee09901a5222791d2492c9338 /src
parent5b943016a4de4f75eb48f70779b84daac29604a2 (diff)
downloadlibayatana-appindicator-c2e186c250b9a9b067a0c8d759b64ebebcda55d1.tar.gz
libayatana-appindicator-c2e186c250b9a9b067a0c8d759b64ebebcda55d1.tar.bz2
libayatana-appindicator-c2e186c250b9a9b067a0c8d759b64ebebcda55d1.zip
More logging from our app indicator on icon changes
Diffstat (limited to 'src')
-rw-r--r--src/indicator-application.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indicator-application.c b/src/indicator-application.c
index 6c053a9..269150a 100644
--- a/src/indicator-application.c
+++ b/src/indicator-application.c
@@ -407,8 +407,10 @@ application_icon_changed (DBusGProxy * proxy, gint position, const gchar * iconn
just use the name we were given. */
gchar * longname = g_strdup_printf("%s-%s", iconname, PANEL_ICON_SUFFIX);
if (gtk_icon_theme_has_icon(gtk_icon_theme_get_default(), longname)) {
+ g_debug("Setting icon on %d to %s", position, longname);
gtk_image_set_from_icon_name(app->entry.image, longname, GTK_ICON_SIZE_MENU);
} else {
+ g_debug("Setting icon on %d to %s", position, iconname);
gtk_image_set_from_icon_name(app->entry.image, iconname, GTK_ICON_SIZE_MENU);
}
g_free(longname);