diff options
author | raveit65 <[email protected]> | 2017-08-12 18:55:31 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-15 14:22:17 +0200 |
commit | 32e67cc51d084fe0cc55b15de81d836366cfcd54 (patch) | |
tree | f0e4b11cb16438aa936e8ed63a58f669d70efad6 /shell | |
parent | 62440325ceaa225edad6b01bd8c495c838ade6a1 (diff) | |
download | atril-32e67cc51d084fe0cc55b15de81d836366cfcd54.tar.bz2 atril-32e67cc51d084fe0cc55b15de81d836366cfcd54.tar.xz |
sidebar-layers: Make it actually usable and fix a runtime warning
Expand the scrolled window vertical so that you can actually
see the content of the widget. This also turned up a missing
gtk_style_context_save () in gimpcellrenderertoggle.c.
So fix that as well.
partial inspired from:
https://github.com/linuxmint/xreader/commit/6b6ae7f
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-sidebar-layers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ev-sidebar-layers.c b/shell/ev-sidebar-layers.c index ce12ba61..c28218c2 100644 --- a/shell/ev-sidebar-layers.c +++ b/shell/ev-sidebar-layers.c @@ -284,6 +284,7 @@ ev_sidebar_layers_init (EvSidebarLayers *ev_layers) gtk_orientable_set_orientation (GTK_ORIENTABLE (ev_layers), GTK_ORIENTATION_VERTICAL); swindow = gtk_scrolled_window_new (NULL, NULL); + gtk_widget_set_vexpand (swindow, TRUE); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); |