diff options
author | Ted Gould <ted@gould.cx> | 2010-04-15 20:52:20 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-04-15 20:52:20 -0500 |
commit | 30b853eaf97907008044d5a7fb052359eef59b49 (patch) | |
tree | 46a763dd852d557859ab701abd985840a6f7417b | |
parent | 4501008d5045499981c0b4bdefcd05a4b28b3659 (diff) | |
download | ayatana-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.c | 3 |
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); |