summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2017-04-12 10:23:41 +0200
committermonsta <[email protected]>2017-04-16 12:44:22 +0300
commit72dab7d63b191957a58ee4a024a93af7327f2965 (patch)
tree78ba0ac90f97ed1dfbb6b063bb4124c60492346e
parent10f4e384ab0b270a77804c5c5b024b49c2e829a3 (diff)
downloadmate-panel-72dab7d63b191957a58ee4a024a93af7327f2965.tar.bz2
mate-panel-72dab7d63b191957a58ee4a024a93af7327f2965.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.
-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