[gnome-control-center/benzea/hide-unsupported-resolutions: 1/3] display: Do not show scale and refresh rate rows



commit 390365ce7a6fdbc06b593c91803ca86fa8f556e3
Author: Benjamin Berg <bberg redhat com>
Date:   Tue Oct 16 18:11:37 2018 +0200

    display: Do not show scale and refresh rate rows
    
    The visibility is explicitly controlled in the functions that create the
    rows in question. This regression was introduced in commit 3d177b67
    (display: Don't use gtk_widget_show_all).

 panels/display/cc-display-panel.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 8db886931..43555a4b8 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -1057,11 +1057,9 @@ make_output_ui (CcDisplayPanel *panel)
   gtk_container_add (GTK_CONTAINER (listbox), row);
 
   row = make_scale_row (panel, panel->current_output);
-  gtk_widget_show (row);
   gtk_container_add (GTK_CONTAINER (listbox), row);
 
   row = make_refresh_rate_row (panel, panel->current_output);
-  gtk_widget_show (row);
   gtk_container_add (GTK_CONTAINER (listbox), row);
 
   if (cc_display_monitor_supports_underscanning (panel->current_output))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]