diff options
author | Jason Conti <jason.conti@gmail.com> | 2013-02-12 14:41:16 -0500 |
---|---|---|
committer | Jason Conti <jason.conti@gmail.com> | 2013-02-12 14:41:16 -0500 |
commit | f6d3e793ec923be629f26cab087a6a995a2d0c61 (patch) | |
tree | 05f231ae31790c1fc6cc8425e616de21f78e82bf | |
parent | 7ba2490833317e94754811e60653b871271713dd (diff) | |
download | ayatana-indicator-messages-f6d3e793ec923be629f26cab087a6a995a2d0c61.tar.gz ayatana-indicator-messages-f6d3e793ec923be629f26cab087a6a995a2d0c61.tar.bz2 ayatana-indicator-messages-f6d3e793ec923be629f26cab087a6a995a2d0c61.zip |
libmessaging-menu: Set correct boolean value in _remove_attention and _set_draws_attention
-rw-r--r-- | libmessaging-menu/messaging-menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmessaging-menu/messaging-menu.c b/libmessaging-menu/messaging-menu.c index 04f8d1d..1fa1033 100644 --- a/libmessaging-menu/messaging-menu.c +++ b/libmessaging-menu/messaging-menu.c @@ -717,7 +717,7 @@ messaging_menu_app_set_draws_attention (MessagingMenuApp *app, state = g_action_get_state (G_ACTION (action)); g_variant_get (state, "(ux&sb)", &count, &time, &string, NULL); - new_state = g_variant_new ("(uxsb)", count, time, string, TRUE); + new_state = g_variant_new ("(uxsb)", count, time, string, draws_attention); g_simple_action_set_state (action, new_state); g_variant_unref (state); @@ -1191,5 +1191,5 @@ void messaging_menu_app_remove_attention (MessagingMenuApp *app, const gchar *source_id) { - messaging_menu_app_set_draws_attention (app, source_id, TRUE); + messaging_menu_app_set_draws_attention (app, source_id, FALSE); } |