diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-04 14:07:48 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-04 14:07:48 +0200 |
commit | d2b5ddc7a14e19ed7b75dc43d57481b56f543291 (patch) | |
tree | 237b1b7753f07ffefbe341be9b4f8c0b78df16a2 /src | |
parent | 138ad55c8866a9ad5146bfb745c78c2717c9458e (diff) | |
download | ayatana-indicator-messages-d2b5ddc7a14e19ed7b75dc43d57481b56f543291.tar.gz ayatana-indicator-messages-d2b5ddc7a14e19ed7b75dc43d57481b56f543291.tar.bz2 ayatana-indicator-messages-d2b5ddc7a14e19ed7b75dc43d57481b56f543291.zip |
app_check_draw_attention: don't overwrite draws_attention when it is already TRUE
Diffstat (limited to 'src')
-rw-r--r-- | src/im-application-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/im-application-list.c b/src/im-application-list.c index 90d5b95..1063c8c 100644 --- a/src/im-application-list.c +++ b/src/im-application-list.c @@ -265,7 +265,7 @@ app_check_draw_attention (Application * app) app->draws_attention = app_source_action_check_draw (app, *it); message_actions = g_action_group_list_actions (G_ACTION_GROUP (app->message_actions)); - for (it = message_actions; *it; it++) + for (it = message_actions; *it && !app->draws_attention; it++) app->draws_attention = app_message_action_check_draw (app, *it); g_strfreev (source_actions); |