diff options
author | Ted Gould <ted@canonical.com> | 2009-08-26 17:29:53 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-08-26 17:29:53 -0500 |
commit | bb8dfce7d1a137eeff3792862b3f9a27416f3836 (patch) | |
tree | 357573bcb984610f3ca06e5205e9112ba2e1975b /src/indicator-messages.c | |
parent | 983f83536606972bd90e9f95377a8d1ced282720 (diff) | |
download | ayatana-indicator-messages-bb8dfce7d1a137eeff3792862b3f9a27416f3836.tar.gz ayatana-indicator-messages-bb8dfce7d1a137eeff3792862b3f9a27416f3836.tar.bz2 ayatana-indicator-messages-bb8dfce7d1a137eeff3792862b3f9a27416f3836.zip |
Injecting in a type for the launchers.
Diffstat (limited to 'src/indicator-messages.c')
-rw-r--r-- | src/indicator-messages.c | 10 |
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); } |