diff options
author | Pete Woods <pete.woods@canonical.com> | 2013-08-20 11:25:22 +0100 |
---|---|---|
committer | Pete Woods <pete.woods@canonical.com> | 2013-08-20 11:25:22 +0100 |
commit | d7bba03dd7712cf2a5c60c4e99967525fbaab778 (patch) | |
tree | c9ebb089b7cc0c37d08c63363040d7d060cfdaef | |
parent | 41bd58d41cd15a8ca8e4499b2abe945a4fe1667d (diff) | |
download | ayatana-indicator-messages-d7bba03dd7712cf2a5c60c4e99967525fbaab778.tar.gz ayatana-indicator-messages-d7bba03dd7712cf2a5c60c4e99967525fbaab778.tar.bz2 ayatana-indicator-messages-d7bba03dd7712cf2a5c60c4e99967525fbaab778.zip |
Thunderbird e-mail notifications work again
(forward ported fix from r344)
-rw-r--r-- | src/im-desktop-menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/im-desktop-menu.c b/src/im-desktop-menu.c index 1040d62..ac480e1 100644 --- a/src/im-desktop-menu.c +++ b/src/im-desktop-menu.c @@ -114,7 +114,8 @@ im_desktop_menu_source_added (ImApplicationList *applist, g_return_if_fail (source_section != NULL); action = g_strconcat ("src.", source_id, NULL); - item = g_menu_item_new (label, action); + item = g_menu_item_new (label, NULL); + g_menu_item_set_action_and_target_value(item, action, NULL); g_menu_item_set_attribute (item, "x-canonical-type", "s", "com.canonical.indicator.messages.source"); if (icon && *icon) g_menu_item_set_attribute (item, "icon", "s", icon); |