diff options
author | Jason Conti <jason.conti@gmail.com> | 2011-05-13 18:05:04 -0400 |
---|---|---|
committer | Jason Conti <jason.conti@gmail.com> | 2011-05-13 18:05:04 -0400 |
commit | a604da371cc1b644e5696a62891ae3958425bef2 (patch) | |
tree | f6e4db6ac212dae4544d4890b009868da6f856e6 | |
parent | 3d64d41cdb6bc0c1ae9474e86e2892f5058c4326 (diff) | |
download | ayatana-indicator-notifications-a604da371cc1b644e5696a62891ae3958425bef2.tar.gz ayatana-indicator-notifications-a604da371cc1b644e5696a62891ae3958425bef2.tar.bz2 ayatana-indicator-notifications-a604da371cc1b644e5696a62891ae3958425bef2.zip |
Checking the number of children. They are correct, so they just aren't being sent over dbus.
-rw-r--r-- | src/notifications-service.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/notifications-service.c b/src/notifications-service.c index f5e2d32..d69c848 100644 --- a/src/notifications-service.c +++ b/src/notifications-service.c @@ -61,10 +61,14 @@ static void add_message_item(Notification *note) { DbusmenuMenuitem *item; + GList *test; item = dbusmenu_menuitem_new(); dbusmenu_menuitem_property_set(item, DBUSMENU_MENUITEM_PROP_LABEL, notification_get_summary(note)); dbusmenu_menuitem_child_add_position(root, item, 1); + + test = dbusmenu_menuitem_get_children(root); + g_debug("Children: %d", g_list_length(test)); } static void @@ -150,7 +154,7 @@ log_to_file(const gchar *domain, GLogLevelFlags level, const gchar *message, gpo static void message_received_cb(DBusSpy *spy, Notification *note, gpointer user_data) { - g_debug("Message received from %s", notification_get_app_name(note)); + //g_debug("Message received from %s", notification_get_app_name(note)); add_message_item(note); } |