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.
This commit is contained in:
Ian Douglas Scott 2020-10-28 09:09:26 -07:00 committed by Robert Ancell
parent c18875c623
commit f4f44f511e

View file

@ -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);