[gnome-control-center/T20771: 7/44] panels: always expand vertically



commit 906e3f9229acaa167baeb08d602e5f684acebbe2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue May 31 17:18:51 2016 -0300

    panels: always expand vertically
    
    After the introduction of Gtk+ 3.20, many applications
    had their UI broken because Gtk+ is more strict regarding
    allocation now. The control center also suffers from this
    side effect in various panels.
    
    To fix that, make the broken panels expand vertically.
    
    https://phabricator.endlessm.com/T11747

 shell/cc-panel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-panel.c b/shell/cc-panel.c
index 1042397..fd99566 100644
--- a/shell/cc-panel.c
+++ b/shell/cc-panel.c
@@ -243,6 +243,8 @@ static void
 cc_panel_init (CcPanel *panel)
 {
   panel->priv = CC_PANEL_GET_PRIVATE (panel);
+
+  gtk_widget_set_vexpand (GTK_WIDGET (panel), TRUE);
 }
 
 /**


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