[gnome-control-center] shell: Do not show panel description by default
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Do not show panel description by default
- Date: Thu, 29 Oct 2020 20:26:04 +0000 (UTC)
commit f4f44f511e8ff81d1d62ddd441feb61bef1ec116
Author: Ian Douglas Scott <idscott system76 com>
Date: Wed Oct 28 09:09:26 2020 -0700
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]