Syncing to 0.8.1
[geeqie.git] / src / rcfile.c
index e4b41f1..f5c20d1 100644 (file)
@@ -175,6 +175,8 @@ void save_options()
        write_bool_option(f, "tools_hidden", tools_hidden);
        write_bool_option(f, "restore_tool_state", restore_tool);
 
+       write_bool_option(f, "mouse_wheel_scrolls", mousewheel_scrolls);
+
        fprintf(f,"\n##### Slideshow Options #####\n\n");
 
        write_int_option(f, "slideshow_delay", slideshow_delay);
@@ -323,6 +325,10 @@ void load_options()
                restore_tool = read_bool_option(f, option,
                        "restore_tool_state", value, restore_tool);
 
+               mousewheel_scrolls = read_bool_option(f, option,
+                       "mouse_wheel_scrolls", value, mousewheel_scrolls);
+
+
                /* slideshow opitons */
 
                slideshow_delay = read_int_option(f, option,