summaryrefslogtreecommitdiff
path: root/src/file-manager
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-30 18:36:43 +0200
committerraveit65 <[email protected]>2022-07-20 18:43:36 +0200
commit2e4b1a023187e298c44f79cae25ef325b0c3635b (patch)
tree901e59bad50ba990e7bd0b43bd4a1b060bd96191 /src/file-manager
parent1ce857f73239b5f1b0beb65877a5ee03f408aaa2 (diff)
downloadcaja-2e4b1a023187e298c44f79cae25ef325b0c3635b.tar.bz2
caja-2e4b1a023187e298c44f79cae25ef325b0c3635b.tar.xz
Add scroll tabs with mouse wheel
- File's properties and caja's preferences windows
Diffstat (limited to 'src/file-manager')
-rw-r--r--src/file-manager/fm-properties-window.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index fced94da..c1870e57 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -5160,6 +5160,14 @@ create_properties_window (StartupData *startup_data)
/* Create the notebook tabs. */
window->details->notebook = GTK_NOTEBOOK (gtk_notebook_new ());
+
+ gtk_notebook_set_scrollable (GTK_NOTEBOOK (window->details->notebook), TRUE);
+ gtk_widget_add_events (GTK_WIDGET (window->details->notebook), GDK_SCROLL_MASK);
+ g_signal_connect (window->details->notebook,
+ "scroll-event",
+ G_CALLBACK (eel_dialog_page_scroll_event_callback),
+ window);
+
gtk_widget_show (GTK_WIDGET (window->details->notebook));
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (window))),
GTK_WIDGET (window->details->notebook),