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:
committed by
Robert Ancell
parent
c18875c623
commit
f4f44f511e
@@ -305,7 +305,6 @@ row_data_new (CcPanelCategory category,
|
|||||||
|
|
||||||
/* Description label */
|
/* Description label */
|
||||||
label = gtk_label_new (description);
|
label = gtk_label_new (description);
|
||||||
gtk_widget_show (label);
|
|
||||||
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
|
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
|
||||||
gtk_widget_set_hexpand (label, TRUE);
|
gtk_widget_set_hexpand (label, TRUE);
|
||||||
gtk_label_set_max_width_chars (GTK_LABEL (label), 25);
|
gtk_label_set_max_width_chars (GTK_LABEL (label), 25);
|
||||||
|
|||||||
Reference in New Issue
Block a user