diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-12-13 16:29:24 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-12-13 16:29:24 +0000 |
commit | a5b75edd1c3b44d6fb2848e41134d9b21c0dbf5d (patch) | |
tree | dbf7b68d2b259b15c195fd587a599ddd60bd3927 /src | |
parent | 980b4846a6ee42eeebcd47da712606f87126de83 (diff) | |
parent | 8784c72ddb2159b6170d1651e75ed25c7f0de59d (diff) | |
download | ayatana-indicator-messages-a5b75edd1c3b44d6fb2848e41134d9b21c0dbf5d.tar.gz ayatana-indicator-messages-a5b75edd1c3b44d6fb2848e41134d9b21c0dbf5d.tar.bz2 ayatana-indicator-messages-a5b75edd1c3b44d6fb2848e41134d9b21c0dbf5d.zip |
phone menu: set action targets on source and message menu items.
Approved by PS Jenkins bot, Nick Dedekind.
Diffstat (limited to 'src')
-rw-r--r-- | src/im-phone-menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/im-phone-menu.c b/src/im-phone-menu.c index 69df438..754fc2b 100644 --- a/src/im-phone-menu.c +++ b/src/im-phone-menu.c @@ -186,7 +186,7 @@ im_phone_menu_add_message (ImPhoneMenu *menu, action_name = g_strconcat (app_id, ".msg.", id, NULL); item = g_menu_item_new (title, NULL); - g_menu_item_set_action_and_target_value (item, action_name, NULL); + g_menu_item_set_action_and_target_value (item, action_name, g_variant_new_boolean (TRUE)); g_menu_item_set_attribute (item, "x-canonical-type", "s", "com.canonical.indicator.messages.messageitem"); g_menu_item_set_attribute (item, "x-canonical-message-id", "s", id); @@ -256,7 +256,7 @@ im_phone_menu_add_source (ImPhoneMenu *menu, action_name = g_strconcat (app_id, ".src.", id, NULL); item = g_menu_item_new (label, NULL); - g_menu_item_set_action_and_target_value (item, action_name, NULL); + g_menu_item_set_action_and_target_value (item, action_name, g_variant_new_boolean (TRUE)); g_menu_item_set_attribute (item, "x-canonical-type", "s", "com.canonical.indicator.messages.sourceitem"); if (iconstr) |