diff options
author | raveit65 <[email protected]> | 2018-01-08 13:23:58 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-08 15:35:01 +0100 |
commit | a824d0543c1b53bc35d6c71b0a729f1d9991e781 (patch) | |
tree | cc0ab0469907f4e7c254ac26cbb93f8ebe435dfa /libcaja-private | |
parent | 38a5478e62c84c373d1acf8fb1d278003a3a2d53 (diff) | |
download | caja-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 'libcaja-private')
-rwxr-xr-x[-rw-r--r--] | libcaja-private/caja-column-chooser.c | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | libcaja-private/caja-mime-application-chooser.c | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | libcaja-private/caja-open-with-dialog.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/libcaja-private/caja-column-chooser.c b/libcaja-private/caja-column-chooser.c index 7c4a096f..32906a38 100644..100755 --- a/libcaja-private/caja-column-chooser.c +++ b/libcaja-private/caja-column-chooser.c @@ -280,6 +280,9 @@ add_tree_view (CajaColumnChooser *chooser) gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_scrolled_window_set_overlay_scrolling (GTK_SCROLLED_WINDOW (scrolled), FALSE); +#endif gtk_widget_show (GTK_WIDGET (scrolled)); gtk_container_add (GTK_CONTAINER (scrolled), view); diff --git a/libcaja-private/caja-mime-application-chooser.c b/libcaja-private/caja-mime-application-chooser.c index bbb218eb..556c0499 100644..100755 --- a/libcaja-private/caja-mime-application-chooser.c +++ b/libcaja-private/caja-mime-application-chooser.c @@ -404,6 +404,9 @@ caja_mime_application_chooser_init (CajaMimeApplicationChooser *chooser) GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled), GTK_SHADOW_IN); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_scrolled_window_set_overlay_scrolling (GTK_SCROLLED_WINDOW (scrolled), FALSE); +#endif gtk_widget_show (scrolled); gtk_box_pack_start (GTK_BOX (chooser), scrolled, TRUE, TRUE, 6); diff --git a/libcaja-private/caja-open-with-dialog.c b/libcaja-private/caja-open-with-dialog.c index f43ea133..4ce9f071 100644..100755 --- a/libcaja-private/caja-open-with-dialog.c +++ b/libcaja-private/caja-open-with-dialog.c @@ -870,6 +870,9 @@ caja_open_with_dialog_init (CajaOpenWithDialog *dialog) gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_scrolled_window_set_overlay_scrolling (GTK_SCROLLED_WINDOW (scrolled_window), FALSE); +#endif dialog->details->program_list = gtk_tree_view_new (); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (dialog->details->program_list), FALSE); |