summaryrefslogtreecommitdiff
path: root/src/eom-properties-dialog.c
diff options
context:
space:
mode:
authortamplan <[email protected]>2020-05-18 17:37:08 +0200
committerraveit65 <[email protected]>2020-07-13 10:33:43 +0200
commitc331ec988f543ddfd5e0636d15f7aeafeefa1b0f (patch)
tree55519a1021d2d1cbf5180bb2c680937b640c25f6 /src/eom-properties-dialog.c
parent4b2acec0f78ca3402185e29aff0873c21f4b735e (diff)
downloadeom-c331ec988f543ddfd5e0636d15f7aeafeefa1b0f.tar.bz2
eom-c331ec988f543ddfd5e0636d15f7aeafeefa1b0f.tar.xz
Add tab scrolling support for dialog windows
Diffstat (limited to 'src/eom-properties-dialog.c')
-rw-r--r--src/eom-properties-dialog.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/eom-properties-dialog.c b/src/eom-properties-dialog.c
index 991b608..3295b2e 100644
--- a/src/eom-properties-dialog.c
+++ b/src/eom-properties-dialog.c
@@ -789,6 +789,13 @@ eom_properties_dialog_init (EomPropertiesDialog *prop_dlg)
gtk_notebook_remove_page (GTK_NOTEBOOK (priv->notebook),
EOM_PROPERTIES_DIALOG_PAGE_EXIF);
#endif
+
+ /* Add tab scrolling support for GTK3 */
+ gtk_widget_add_events (priv->notebook, GDK_SCROLL_MASK);
+ g_signal_connect (priv->notebook,
+ "scroll-event",
+ G_CALLBACK (eom_notebook_page_scroll_event_cb),
+ NULL);
}
/**