aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-session.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-17 16:50:13 -0500
committerTed Gould <ted@gould.cx>2010-03-17 16:50:13 -0500
commitd2e52c5334e119b40e12c9f3c03593737ef7bac8 (patch)
tree6a7a93d3ee138ab9c03b40d8e306adeb8a0a7f8a /src/indicator-session.c
parente94cf5b18ec45024d70a71096fd5e8aeaee6d988 (diff)
downloadayatana-indicator-session-d2e52c5334e119b40e12c9f3c03593737ef7bac8.tar.gz
ayatana-indicator-session-d2e52c5334e119b40e12c9f3c03593737ef7bac8.tar.bz2
ayatana-indicator-session-d2e52c5334e119b40e12c9f3c03593737ef7bac8.zip
Moving debug message
Diffstat (limited to 'src/indicator-session.c')
-rw-r--r--src/indicator-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index 2be1e12..4e42567 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -226,13 +226,13 @@ new_user_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuCl
GtkWidget * usericon = NULL;
const gchar * icon_name = dbusmenu_menuitem_property_get(newitem, USER_ITEM_PROP_ICON);
+ g_debug("Using user icon for '%s' from file: %s", dbusmenu_menuitem_property_get(newitem, USER_ITEM_PROP_NAME), icon_name);
if (icon_name != NULL && icon_name[0] != '\0') {
if (g_strcmp0(icon_name, USER_ITEM_ICON_DEFAULT) == 0 || !g_file_test(icon_name, G_FILE_TEST_EXISTS)) {
GIcon * gicon = g_themed_icon_new_with_default_fallbacks("stock_person-panel");
usericon = gtk_image_new_from_gicon(gicon, GTK_ICON_SIZE_MENU);
g_object_unref(gicon);
} else {
- g_debug("Using user icon for '%s' from file: %s", dbusmenu_menuitem_property_get(newitem, USER_ITEM_PROP_NAME), icon_name);
usericon = gtk_image_new_from_file(icon_name);
}
}