diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-09-26 16:48:18 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-09-26 16:48:18 +0000 |
commit | 284a563dae695e5d72d7c19df9c6f01237ba9880 (patch) | |
tree | 95fbacf288635c2eed2c3271fee2e4a0e71251b5 /src | |
parent | 6206322ba23f8ea8c2411792f8519c4d2d38ac93 (diff) | |
parent | 0df6f7e0bde7c38e72367812810ba59e6c4be5a6 (diff) | |
download | ayatana-indicator-messages-284a563dae695e5d72d7c19df9c6f01237ba9880.tar.gz ayatana-indicator-messages-284a563dae695e5d72d7c19df9c6f01237ba9880.tar.bz2 ayatana-indicator-messages-284a563dae695e5d72d7c19df9c6f01237ba9880.zip |
im-application-list: show all sources that have a count, time, or non-empty string. Fixes: https://bugs.launchpad.net/bugs/1231435.
Approved by Sebastien Bacher, PS Jenkins bot.
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 b0384f8..11156ab 100644 --- a/src/im-application-list.c +++ b/src/im-application-list.c @@ -830,7 +830,7 @@ im_application_list_source_changed (Application *app, g_action_group_change_action_state (G_ACTION_GROUP (app->source_actions), id, g_variant_new ("(uxsb)", count, time, string, draws_attention)); - visible = count > 0; + visible = count > 0 || time != 0 || (string != NULL && string[0] != '\0'); g_signal_emit (app->list, signals[SOURCE_CHANGED], 0, app->id, id, label, serialized_icon, visible); |