summaryrefslogtreecommitdiff
path: root/applets/notification_area
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2017-04-12 10:23:41 +0200
committerraveit65 <[email protected]>2017-04-15 23:16:29 +0200
commit36c54308f7b0e05f24b9b90fb2f79546608667b2 (patch)
treee4decac1f54e23b1ce0adfce559b1e9c37a15951 /applets/notification_area
parent7da08379b5ca39ae54529391e88634c39b3b843e (diff)
downloadmate-panel-36c54308f7b0e05f24b9b90fb2f79546608667b2.tar.bz2
mate-panel-36c54308f7b0e05f24b9b90fb2f79546608667b2.tar.xz
status-notifier: Do not hide passive items
Although the specification states that most hosts will hide those, several items report them as Passive all the time and thus never show up. So for now, just show everything. Fixes #537.
Diffstat (limited to 'applets/notification_area')
-rw-r--r--applets/notification_area/status-notifier/sn-item-v0.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/applets/notification_area/status-notifier/sn-item-v0.c b/applets/notification_area/status-notifier/sn-item-v0.c
index 83f6d0de..14a1046c 100644
--- a/applets/notification_area/status-notifier/sn-item-v0.c
+++ b/applets/notification_area/status-notifier/sn-item-v0.c
@@ -238,7 +238,6 @@ update (SnItemV0 *v0)
AtkObject *accessible;
GtkImage *image;
SnTooltip *tip;
- gboolean visible;
gint icon_size;
g_return_if_fail (SN_IS_ITEM_V0 (v0));
@@ -314,8 +313,8 @@ update (SnItemV0 *v0)
else
atk_object_set_name (accessible, v0->id);
- visible = g_strcmp0 (v0->status, "Passive") != 0;
- gtk_widget_set_visible (GTK_WIDGET (v0), visible);
+ /* TODO: hide "Passive" items with a setting? */
+ gtk_widget_set_visible (GTK_WIDGET (v0), TRUE);
}
static gboolean