diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-11-28 17:39:14 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-11-28 17:39:14 +0100 |
commit | e6930c0df67ab53fcb2f7183741dee1bc0d599d4 (patch) | |
tree | df52c4e4a9159231bd68fd986875c533395b4978 /src/im-application-list.c | |
parent | 235a7edc5c2fc2435c837f8a3d427dd0755f966d (diff) | |
download | ayatana-indicator-messages-e6930c0df67ab53fcb2f7183741dee1bc0d599d4.tar.gz ayatana-indicator-messages-e6930c0df67ab53fcb2f7183741dee1bc0d599d4.tar.bz2 ayatana-indicator-messages-e6930c0df67ab53fcb2f7183741dee1bc0d599d4.zip |
Expose message actions in the phone menu
And use com.canonical.indicator.messages.snapdecision as widget type if the
message has actions.
Diffstat (limited to 'src/im-application-list.c')
-rw-r--r-- | src/im-application-list.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/im-application-list.c b/src/im-application-list.c index 1f901ec..c446d12 100644 --- a/src/im-application-list.c +++ b/src/im-application-list.c @@ -271,13 +271,15 @@ im_application_list_class_init (ImApplicationListClass *klass) NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, - 8, + 10, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, + G_TYPE_STRING, + G_TYPE_VARIANT, G_TYPE_INT64, G_TYPE_BOOLEAN); @@ -529,7 +531,7 @@ im_application_list_message_added (Application *app, g_simple_action_group_insert (app->message_actions, G_ACTION (action)); g_signal_emit (app->list, signals[MESSAGE_ADDED], 0, - app->id, app_iconstr, id, iconstr, title, subtitle, body, time, draws_attention); + app->id, app_iconstr, id, iconstr, title, subtitle, body, actions, time, draws_attention); g_variant_unref (actions); g_free (app_iconstr); |