summaryrefslogtreecommitdiff
path: root/src/caja-file-management-properties.c
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-30 18:36:43 +0200
committerZenWalker <[email protected]>2019-07-02 05:14:42 +0200
commit0b4c7a6b8c25afb987d08bfd2c4c9be57de23960 (patch)
tree0e9406d23cfd19d40231a2c38e1ced1bd5463ec2 /src/caja-file-management-properties.c
parent90fda6cb5d5e471c353f75f952d3fb76c762c791 (diff)
downloadcaja-0b4c7a6b8c25afb987d08bfd2c4c9be57de23960.tar.bz2
caja-0b4c7a6b8c25afb987d08bfd2c4c9be57de23960.tar.xz
Add scroll tabs with mouse wheel
File's properties and caja's preferences windows
Diffstat (limited to 'src/caja-file-management-properties.c')
-rw-r--r--src/caja-file-management-properties.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c
index ce823a42..3a2154df 100644
--- a/src/caja-file-management-properties.c
+++ b/src/caja-file-management-properties.c
@@ -31,6 +31,7 @@
#include <glib/gi18n.h>
#include <eel/eel-glib-extensions.h>
+#include <eel/eel-gtk-extensions.h>
#include <libcaja-private/caja-column-chooser.h>
#include <libcaja-private/caja-column-utilities.h>
@@ -1272,6 +1273,12 @@ caja_file_management_properties_dialog_setup (GtkBuilder *builder, GtkWindow *wi
gtk_window_set_screen (GTK_WINDOW (dialog), gtk_window_get_screen(window));
}
+ GtkWidget *notebook = GTK_WIDGET (gtk_builder_get_object (builder, "notebook1"));
+ gtk_widget_add_events (GTK_WIDGET (notebook), GDK_SCROLL_MASK);
+ g_signal_connect (GTK_WIDGET (notebook), "scroll-event",
+ G_CALLBACK (eel_dialog_page_scroll_event_callback),
+ window);
+
gtk_widget_show (dialog);
}