diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-09-26 16:43:48 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-09-26 16:43:48 +0200 |
commit | 0df6f7e0bde7c38e72367812810ba59e6c4be5a6 (patch) | |
tree | 24f820f7f0501d0678edf0c7bb43631f35291d6e /src | |
parent | b0de0c4939d42950bb61b356116f06a88080c0b6 (diff) | |
download | ayatana-indicator-messages-0df6f7e0bde7c38e72367812810ba59e6c4be5a6.tar.gz ayatana-indicator-messages-0df6f7e0bde7c38e72367812810ba59e6c4be5a6.tar.bz2 ayatana-indicator-messages-0df6f7e0bde7c38e72367812810ba59e6c4be5a6.zip |
im-application-list: show all sources that have a count, time, or non-empty string
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); |