Syncing to 0.8.1
[geeqie.git] / src / config.c
index f2f72d5..e35bf90 100644 (file)
@@ -37,6 +37,8 @@ static gint slideshow_delay_c;
 static gint slideshow_random_c;
 static gint slideshow_repeat_c;
 
+static gint mousewheel_scrolls_c;
+
 static GtkWidget *configwindow = NULL;
 static GtkWidget *startup_path_entry;
 static GtkWidget *custom_filter_entry;
@@ -218,6 +220,8 @@ static void config_window_apply()
        slideshow_repeat = slideshow_repeat_c;
        slideshow_delay = slideshow_delay_c;
 
+       mousewheel_scrolls = mousewheel_scrolls_c;
+
        if (refresh)
                {
                rebuild_file_filter();
@@ -518,6 +522,8 @@ static void config_window_create(gint start_tab)
 
        add_check_button(progressive_key_scrolling, &progressive_key_scrolling_c,
                         _("Progressive keyboard scrolling"), vbox);
+       add_check_button(mousewheel_scrolls, &mousewheel_scrolls_c,
+                        _("Mouse wheel scrolls image"), vbox);
 
        /* filtering tab */