From 72dab7d63b191957a58ee4a024a93af7327f2965 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Wed, 12 Apr 2017 10:23:41 +0200 Subject: 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. --- applets/notification_area/status-notifier/sn-item-v0.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'applets/notification_area/status-notifier') 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 -- cgit v1.2.1