From f4f44f511e8ff81d1d62ddd441feb61bef1ec116 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Wed, 28 Oct 2020 09:09:26 -0700 Subject: [PATCH] shell: Do not show panel description by default 01874f7 added this `gtk_widget_show (label)` call, which seems to be erroneous. The previous `g_object_new()` call had `"visible", FALSE,`. It should only be shown when searching panels. This fixes that, restoring the older behavior. --- shell/cc-panel-list.c | 1 - 1 file changed, 1 deletion(-) diff --git a/shell/cc-panel-list.c b/shell/cc-panel-list.c index d201c0f50..e23da0b87 100644 --- a/shell/cc-panel-list.c +++ b/shell/cc-panel-list.c @@ -305,7 +305,6 @@ row_data_new (CcPanelCategory category, /* Description label */ label = gtk_label_new (description); - gtk_widget_show (label); gtk_label_set_xalign (GTK_LABEL (label), 0.0); gtk_widget_set_hexpand (label, TRUE); gtk_label_set_max_width_chars (GTK_LABEL (label), 25);