summaryrefslogtreecommitdiff
path: root/src/caja-property-browser.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-01-08 13:23:58 +0100
committerraveit65 <[email protected]>2018-01-08 15:35:01 +0100
commita824d0543c1b53bc35d6c71b0a729f1d9991e781 (patch)
treecc0ab0469907f4e7c254ac26cbb93f8ebe435dfa /src/caja-property-browser.c
parent38a5478e62c84c373d1acf8fb1d278003a3a2d53 (diff)
downloadcaja-a824d0543c1b53bc35d6c71b0a729f1d9991e781.tar.bz2
caja-a824d0543c1b53bc35d6c71b0a729f1d9991e781.tar.xz
ui: don't use overlay-scrollbars
make it consistent with behaviour for caja-places-sidebar
Diffstat (limited to 'src/caja-property-browser.c')
-rwxr-xr-x[-rw-r--r--]src/caja-property-browser.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c
index 8c4bb5f7..a7e517c4 100644..100755
--- a/src/caja-property-browser.c
+++ b/src/caja-property-browser.c
@@ -326,6 +326,10 @@ caja_property_browser_init (CajaPropertyBrowser *property_browser)
gtk_widget_show (property_browser->details->category_container);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (property_browser->details->category_container),
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_scrolled_window_set_overlay_scrolling (GTK_SCROLLED_WINDOW (property_browser->details->category_container),
+ FALSE);
+#endif
/* allocate a table to hold the category selector */
property_browser->details->category_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
@@ -2204,6 +2208,10 @@ caja_property_browser_update_contents (CajaPropertyBrowser *property_browser)
gtk_widget_show (property_browser->details->content_frame);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (property_browser->details->content_frame),
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_scrolled_window_set_overlay_scrolling (GTK_SCROLLED_WINDOW (property_browser->details->content_frame),
+ FALSE);
+#endif
/* allocate a table to hold the content widgets */
property_browser->details->content_table = eel_image_table_new (TRUE);