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 /src/file-manager | |
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 'src/file-manager')
-rwxr-xr-x[-rw-r--r--] | src/file-manager/fm-desktop-icon-view.c | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | src/file-manager/fm-directory-view.c | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | src/file-manager/fm-tree-view.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/file-manager/fm-desktop-icon-view.c b/src/file-manager/fm-desktop-icon-view.c index 668c4300..26b2751f 100644..100755 --- a/src/file-manager/fm-desktop-icon-view.c +++ b/src/file-manager/fm-desktop-icon-view.c @@ -637,6 +637,9 @@ fm_desktop_icon_view_init (FMDesktopIconView *desktop_icon_view) gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (desktop_icon_view), GTK_SHADOW_NONE); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_scrolled_window_set_overlay_scrolling (GTK_SCROLLED_WINDOW (desktop_icon_view), FALSE); +#endif fm_directory_view_ignore_hidden_file_preferences (FM_DIRECTORY_VIEW (desktop_icon_view)); diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c index b9501461..82d1f234 100644..100755 --- a/src/file-manager/fm-directory-view.c +++ b/src/file-manager/fm-directory-view.c @@ -2006,6 +2006,9 @@ fm_directory_view_init (FMDirectoryView *view) gtk_scrolled_window_set_hadjustment (GTK_SCROLLED_WINDOW (view), NULL); gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (view), NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (view), GTK_SHADOW_ETCHED_IN); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_scrolled_window_set_overlay_scrolling (GTK_SCROLLED_WINDOW (view), FALSE); +#endif set_up_scripts_directory_global (); scripts_directory = caja_directory_get_by_uri (scripts_directory_uri); diff --git a/src/file-manager/fm-tree-view.c b/src/file-manager/fm-tree-view.c index 8f82d495..ea42c420 100644..100755 --- a/src/file-manager/fm-tree-view.c +++ b/src/file-manager/fm-tree-view.c @@ -1591,6 +1591,9 @@ fm_tree_view_init (FMTreeView *view) gtk_scrolled_window_set_hadjustment (GTK_SCROLLED_WINDOW (view), NULL); gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (view), NULL); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (view), GTK_SHADOW_IN); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_scrolled_window_set_overlay_scrolling (GTK_SCROLLED_WINDOW (view), FALSE); +#endif gtk_widget_show (GTK_WIDGET (view)); |