diff options
author | Ted Gould <ted@gould.cx> | 2010-02-17 20:31:16 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-17 20:31:16 -0600 |
commit | bcc596a2912f66658058d14f8e30b04cb67915e5 (patch) | |
tree | a2ea5fefd163358297c18c84d32cb5cae51e8b73 /src/messages-service.c | |
parent | 09c3405e449b936d3fce4fd85618dd4e60aaa77c (diff) | |
download | ayatana-indicator-messages-bcc596a2912f66658058d14f8e30b04cb67915e5.tar.gz ayatana-indicator-messages-bcc596a2912f66658058d14f8e30b04cb67915e5.tar.bz2 ayatana-indicator-messages-bcc596a2912f66658058d14f8e30b04cb67915e5.zip |
Adding some debug messages
Diffstat (limited to 'src/messages-service.c')
-rw-r--r-- | src/messages-service.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index c1af270..0cbb91a 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -594,6 +594,7 @@ server_added (IndicateListener * listener, IndicateListenerServer * server, gcha GList * shortcuts = app_menu_item_get_items(sl_item->menuitem); while (shortcuts != NULL) { DbusmenuMenuitem * mi = DBUSMENU_MENUITEM(shortcuts->data); + g_debug("\tAdding shortcut: %s", dbusmenu_menuitem_property_get(mi, DBUSMENU_MENUITEM_PROP_LABEL)); dbusmenu_menuitem_child_append(menushell, mi); shortcuts = g_list_next(shortcuts); } @@ -611,6 +612,7 @@ server_added (IndicateListener * listener, IndicateListenerServer * server, gcha static void server_shortcuts_changed (AppMenuItem * appitem, gpointer data) { + g_debug("Application Shortcuts changed"); DbusmenuMenuitem * shell = DBUSMENU_MENUITEM(data); gboolean appitemfound = FALSE; GList * children = dbusmenu_menuitem_get_children(shell); @@ -639,6 +641,7 @@ server_shortcuts_changed (AppMenuItem * appitem, gpointer data) GList * shortcuts = app_menu_item_get_items(appitem); while (shortcuts != NULL) { DbusmenuMenuitem * mi = DBUSMENU_MENUITEM(shortcuts->data); + g_debug("\tAdding shortcut: %s", dbusmenu_menuitem_property_get(mi, DBUSMENU_MENUITEM_PROP_LABEL)); dbusmenu_menuitem_child_append(shell, mi); shortcuts = g_list_next(shortcuts); } |