aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2011-05-13 18:05:04 -0400
committerJason Conti <jason.conti@gmail.com>2011-05-13 18:05:04 -0400
commit51bea07ada60838887f0555d5eef9fcf13613875 (patch)
treef6e4db6ac212dae4544d4890b009868da6f856e6 /src
parent64930bed8dc1a5c92bd3fae8cedeeaac509db598 (diff)
downloadayatana-indicator-notifications-51bea07ada60838887f0555d5eef9fcf13613875.tar.gz
ayatana-indicator-notifications-51bea07ada60838887f0555d5eef9fcf13613875.tar.bz2
ayatana-indicator-notifications-51bea07ada60838887f0555d5eef9fcf13613875.zip
Checking the number of children. They are correct, so they just aren't being sent over dbus.
Diffstat (limited to 'src')
-rw-r--r--src/notifications-service.c6
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);
}