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



commit d534f67047f126e904c4d05a08898daad2b24a45
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 e1d2aa73c..129d655c5 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]