summaryrefslogtreecommitdiff
path: root/src/caja-notes-viewer.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-notes-viewer.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-notes-viewer.c')
-rwxr-xr-x[-rw-r--r--]src/caja-notes-viewer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/caja-notes-viewer.c b/src/caja-notes-viewer.c
index e62a0f14..a825c316 100644..100755
--- a/src/caja-notes-viewer.c
+++ b/src/caja-notes-viewer.c
@@ -347,6 +347,9 @@ caja_notes_viewer_init (CajaNotesViewer *sidebar)
GTK_SHADOW_IN);
gtk_scrolled_window_set_hadjustment (GTK_SCROLLED_WINDOW (sidebar), NULL);
gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (sidebar), NULL);
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_scrolled_window_set_overlay_scrolling (GTK_SCROLLED_WINDOW (sidebar), FALSE);
+#endif
gtk_container_add (GTK_CONTAINER (sidebar), details->note_text_field);
g_signal_connect (details->note_text_field, "focus_out_event",