[gnome-control-center/T20818: 9/54] panels: always expand vertically
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/T20818: 9/54] panels: always expand vertically
- Date: Tue, 23 Jan 2018 21:30:47 +0000 (UTC)
commit ca8ba610a330672c9928cd8a8e2553025dde5c5a
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]