aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-12-13 16:29:24 +0000
committerTarmac <Unknown>2013-12-13 16:29:24 +0000
commita5b75edd1c3b44d6fb2848e41134d9b21c0dbf5d (patch)
treedbf7b68d2b259b15c195fd587a599ddd60bd3927
parent980b4846a6ee42eeebcd47da712606f87126de83 (diff)
parent8784c72ddb2159b6170d1651e75ed25c7f0de59d (diff)
downloadayatana-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.
-rw-r--r--m4/gcov.m42
-rw-r--r--src/im-phone-menu.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/m4/gcov.m4 b/m4/gcov.m4
index 3163584..2d0b4bb 100644
--- a/m4/gcov.m4
+++ b/m4/gcov.m4
@@ -30,7 +30,7 @@ AC_DEFUN([AC_TDD_GCOV],
AC_MSG_ERROR([ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1.])
fi
- lcov_version_list="1.6 1.7 1.8 1.9"
+ lcov_version_list="1.6 1.7 1.8 1.9 1.10"
AC_CHECK_PROG(LCOV, lcov, lcov)
AC_CHECK_PROG(GENHTML, genhtml, genhtml)
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)