aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-04-15 20:52:20 -0500
committerTed Gould <ted@gould.cx>2010-04-15 20:52:20 -0500
commit30b853eaf97907008044d5a7fb052359eef59b49 (patch)
tree46a763dd852d557859ab701abd985840a6f7417b
parent4501008d5045499981c0b4bdefcd05a4b28b3659 (diff)
downloadayatana-indicator-messages-30b853eaf97907008044d5a7fb052359eef59b49.tar.gz
ayatana-indicator-messages-30b853eaf97907008044d5a7fb052359eef59b49.tar.bz2
ayatana-indicator-messages-30b853eaf97907008044d5a7fb052359eef59b49.zip
Some debug messages when removing shortcuts
-rw-r--r--src/messages-service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 5f36479..2e85faa 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -636,8 +636,11 @@ server_shortcuts_changed (AppMenuItem * appitem, gpointer data)
children = g_list_next(children);
}
+ g_debug("\tRemoving %d shortcuts", g_list_length(removelist));
+
GList * removeitem;
for (removeitem = removelist; removeitem != NULL; removeitem = g_list_next(removeitem)) {
+ g_debug("\tRemoving shortcut: %s", dbusmenu_menuitem_property_get(DBUSMENU_MENUITEM(removeitem->data), DBUSMENU_MENUITEM_PROP_LABEL));
dbusmenu_menuitem_child_delete(shell, DBUSMENU_MENUITEM(removeitem->data));
}
g_list_free(removeitem);