From 30b853eaf97907008044d5a7fb052359eef59b49 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 15 Apr 2010 20:52:20 -0500 Subject: Some debug messages when removing shortcuts --- src/messages-service.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3