aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indicator-messages.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 80ab535..2aec8e9 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -136,6 +136,13 @@ setup_icon_proxy (gpointer userdata)
return FALSE;
}
+static gboolean
+new_launcher_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client)
+{
+
+ return TRUE;
+}
+
GtkLabel *
get_label (void)
{
@@ -176,6 +183,9 @@ get_menu (void)
g_idle_add(setup_icon_proxy, NULL);
DbusmenuGtkMenu * menu = dbusmenu_gtkmenu_new(INDICATOR_MESSAGES_DBUS_NAME, INDICATOR_MESSAGES_DBUS_OBJECT);
+ DbusmenuGtkClient * client = dbusmenu_gtkmenu_get_client(menu);
+
+ dbusmenu_client_add_type_handler(DBUSMENU_CLIENT(client), "launcher-item", new_launcher_item);
return GTK_MENU(menu);
}