aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-17 20:31:16 -0600
committerTed Gould <ted@gould.cx>2010-02-17 20:31:16 -0600
commitbcc596a2912f66658058d14f8e30b04cb67915e5 (patch)
treea2ea5fefd163358297c18c84d32cb5cae51e8b73 /src/app-menu-item.c
parent09c3405e449b936d3fce4fd85618dd4e60aaa77c (diff)
downloadayatana-indicator-messages-bcc596a2912f66658058d14f8e30b04cb67915e5.tar.gz
ayatana-indicator-messages-bcc596a2912f66658058d14f8e30b04cb67915e5.tar.bz2
ayatana-indicator-messages-bcc596a2912f66658058d14f8e30b04cb67915e5.zip
Adding some debug messages
Diffstat (limited to 'src/app-menu-item.c')
-rw-r--r--src/app-menu-item.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index 53d4afa..57a4e6a 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -384,6 +384,7 @@ child_moved_cb (DbusmenuMenuitem * root, DbusmenuMenuitem * child, guint newpos,
static void
root_changed (DbusmenuClient * client, DbusmenuMenuitem * newroot, gpointer data)
{
+ g_debug("Root Changed");
AppMenuItem * self = APP_MENU_ITEM(data);
AppMenuItemPrivate * priv = APP_MENU_ITEM_GET_PRIVATE(self);
gboolean change_time = FALSE;
@@ -412,6 +413,7 @@ root_changed (DbusmenuClient * client, DbusmenuMenuitem * newroot, gpointer data
GList * children = dbusmenu_menuitem_get_children(DBUSMENU_MENUITEM(priv->root));
if (children != NULL) {
change_time = TRUE;
+ g_debug("\tProcessing %d children", g_list_length(children));
while (children != NULL) {
DbusmenuMenuitemProxy * mip = dbusmenu_menuitem_proxy_new(DBUSMENU_MENUITEM(children->data));
priv->shortcuts = g_list_append(priv->shortcuts, mip);