-
- /* general options */
- READ_BOOL(*options, show_icon_names);
- READ_BOOL(*options, show_copy_path);
-
- READ_BOOL(*options, tree_descend_subdirs);
- READ_BOOL(*options, lazy_image_sync);
- READ_BOOL(*options, update_on_time_change);
-
- READ_UINT_CLAMP(*options, duplicates_similarity_threshold, 0, 100);
-
- READ_BOOL(*options, progressive_key_scrolling);
-
- READ_BOOL(*options, mousewheel_scrolls);
-
- READ_INT(*options, open_recent_list_maxsize);
- READ_INT(*options, dnd_icon_size);
- READ_BOOL(*options, place_dialogs_under_mouse);
-
- /* startup options */
-
- READ_BOOL(*options, startup.restore_path);
-
- READ_BOOL(*options, startup.use_last_path);
-
- READ_CHAR(*options, startup.path);
-
-
- /* properties dialog options */
- READ_CHAR(*options, properties.tabs_order);
-
- /* image options */
- READ_UINT_CLAMP(*options, image.zoom_mode, 0, ZOOM_RESET_NONE);
- READ_BOOL(*options, image.zoom_2pass);
- READ_BOOL(*options, image.zoom_to_fit_allow_expand);
- READ_BOOL(*options, image.fit_window_to_image);
- READ_BOOL(*options, image.limit_window_size);
- READ_INT(*options, image.max_window_size);
- READ_BOOL(*options, image.limit_autofit_size);
- READ_INT(*options, image.max_autofit_size);
- READ_UINT_CLAMP(*options, image.scroll_reset_method, 0, PR_SCROLL_RESET_COUNT - 1);
- READ_INT(*options, image.tile_cache_max);
- READ_INT(*options, image.image_cache_max);
- READ_UINT_CLAMP(*options, image.zoom_quality, GDK_INTERP_NEAREST, GDK_INTERP_HYPER);
- READ_UINT_CLAMP(*options, image.dither_quality, GDK_RGB_DITHER_NONE, GDK_RGB_DITHER_MAX);
- READ_INT(*options, image.zoom_increment);
- READ_BOOL(*options, image.enable_read_ahead);
- READ_BOOL(*options, image.exif_rotate_enable);
- READ_BOOL(*options, image.use_custom_border_color);
- READ_COLOR(*options, image.border_color);
- READ_INT_CLAMP(*options, image.read_buffer_size, IMAGE_LOADER_READ_BUFFER_SIZE_MIN, IMAGE_LOADER_READ_BUFFER_SIZE_MAX);
- READ_INT_CLAMP(*options, image.idle_read_loop_count, IMAGE_LOADER_IDLE_READ_LOOP_COUNT_MIN, IMAGE_LOADER_IDLE_READ_LOOP_COUNT_MAX);
-
-
- /* thumbnails options */
- READ_INT_CLAMP(*options, thumbnails.max_width, 16, 512);
- READ_INT_CLAMP(*options, thumbnails.max_height, 16, 512);
-
- READ_BOOL(*options, thumbnails.enable_caching);
- READ_BOOL(*options, thumbnails.cache_into_dirs);
- READ_BOOL(*options, thumbnails.fast);
- READ_BOOL(*options, thumbnails.use_xvpics);
- READ_BOOL(*options, thumbnails.spec_standard);
- READ_UINT_CLAMP(*options, thumbnails.quality, GDK_INTERP_NEAREST, GDK_INTERP_HYPER);
- READ_BOOL(*options, thumbnails.use_exif);
-
- /* file sorting options */
- READ_UINT(*options, file_sort.method);
- READ_BOOL(*options, file_sort.ascending);
- READ_BOOL(*options, file_sort.case_sensitive);
-
- /* file operations *options */
- READ_BOOL(*options, file_ops.enable_in_place_rename);
- READ_BOOL(*options, file_ops.confirm_delete);
- READ_BOOL(*options, file_ops.enable_delete_key);
- READ_BOOL(*options, file_ops.safe_delete_enable);
- READ_CHAR(*options, file_ops.safe_delete_path);
- READ_INT(*options, file_ops.safe_delete_folder_maxsize);
-
- /* fullscreen options */
- READ_INT(*options, fullscreen.screen);
- READ_BOOL(*options, fullscreen.clean_flip);
- READ_BOOL(*options, fullscreen.disable_saver);
- READ_BOOL(*options, fullscreen.above);
-
- /* histogram */
- READ_UINT(*options, histogram.last_channel_mode);
- READ_UINT(*options, histogram.last_log_mode);
-
- /* image overlay */
- READ_UINT(*options, image_overlay.common.state);
- READ_BOOL(*options, image_overlay.common.show_at_startup);
- READ_CHAR(*options, image_overlay.common.template_string);
-
- READ_INT(*options, image_overlay.common.x);
- READ_INT(*options, image_overlay.common.y);
-
-
- /* slideshow options */
- READ_INT_UNIT(*options, slideshow.delay, SLIDESHOW_SUBSECOND_PRECISION);
- READ_BOOL(*options, slideshow.random);
- READ_BOOL(*options, slideshow.repeat);
-
- /* collection options */
-
- READ_BOOL(*options, collections.rectangular_selection);
-
- /* filtering options */
-
- READ_BOOL(*options, file_filter.show_hidden_files);
- READ_BOOL(*options, file_filter.show_dot_directory);
- READ_BOOL(*options, file_filter.disable);
- READ_CHAR(*options, sidecar.ext);
+ /* General options */
+ if (READ_BOOL(*options, show_icon_names)) continue;
+
+ if (READ_BOOL(*options, tree_descend_subdirs)) continue;
+ if (READ_BOOL(*options, view_dir_list_single_click_enter)) continue;
+ if (READ_BOOL(*options, lazy_image_sync)) continue;
+ if (READ_BOOL(*options, update_on_time_change)) continue;
+
+ if (READ_UINT_CLAMP(*options, duplicates_similarity_threshold, 0, 100)) continue;
+ if (READ_UINT_CLAMP(*options, duplicates_match, 0, DUPE_MATCH_NAME_CI)) continue;
+ if (READ_UINT_CLAMP(*options, duplicates_select_type, 0, DUPE_SELECT_GROUP2)) continue;
+ if (READ_BOOL(*options, duplicates_thumbnails)) continue;
+ if (READ_BOOL(*options, rot_invariant_sim)) continue;
+
+ if (READ_BOOL(*options, progressive_key_scrolling)) continue;
+ if (READ_UINT_CLAMP(*options, keyboard_scroll_step, 1, 32)) continue;
+
+ if (READ_BOOL(*options, mousewheel_scrolls)) continue;
+ if (READ_BOOL(*options, image_lm_click_nav)) continue;
+
+ if (READ_INT(*options, open_recent_list_maxsize)) continue;
+ if (READ_INT(*options, dnd_icon_size)) continue;
+ if (READ_BOOL(*options, place_dialogs_under_mouse)) continue;
+
+ if (READ_BOOL(*options, save_window_positions)) continue;
+ if (READ_BOOL(*options, use_saved_window_positions_for_new_windows)) continue;
+ if (READ_BOOL(*options, tools_restore_state)) continue;
+
+ /* Properties dialog options */
+ if (READ_CHAR(*options, properties.tabs_order)) continue;
+
+ /* Image options */
+ if (READ_UINT_CLAMP(*options, image.zoom_mode, 0, ZOOM_RESET_NONE)) continue;
+ if (READ_BOOL(*options, image.zoom_2pass)) continue;
+ if (READ_BOOL(*options, image.zoom_to_fit_allow_expand)) continue;
+ if (READ_BOOL(*options, image.fit_window_to_image)) continue;
+ if (READ_BOOL(*options, image.limit_window_size)) continue;
+ if (READ_INT(*options, image.max_window_size)) continue;
+ if (READ_BOOL(*options, image.limit_autofit_size)) continue;
+ if (READ_INT(*options, image.max_autofit_size)) continue;
+ if (READ_INT(*options, image.max_enlargement_size)) continue;
+ if (READ_UINT_CLAMP(*options, image.scroll_reset_method, 0, PR_SCROLL_RESET_COUNT - 1)) continue;
+ if (READ_INT(*options, image.tile_cache_max)) continue;
+ if (READ_INT(*options, image.image_cache_max)) continue;
+ if (READ_UINT_CLAMP(*options, image.zoom_quality, GDK_INTERP_NEAREST, GDK_INTERP_HYPER)) continue;
+ if (READ_INT(*options, image.zoom_increment)) continue;
+ if (READ_BOOL(*options, image.enable_read_ahead)) continue;
+ if (READ_BOOL(*options, image.exif_rotate_enable)) continue;
+ if (READ_BOOL(*options, image.use_custom_border_color)) continue;
+ if (READ_BOOL(*options, image.use_custom_border_color_in_fullscreen)) continue;
+ if (READ_COLOR(*options, image.border_color)) continue;
+ if (READ_COLOR(*options, image.alpha_color_1)) continue;
+ if (READ_COLOR(*options, image.alpha_color_2)) continue;
+ if (READ_BOOL(*options, image.use_clutter_renderer)) continue;
+
+ /* Thumbnails options */
+ if (READ_INT_CLAMP(*options, thumbnails.max_width, 16, 512)) continue;
+ if (READ_INT_CLAMP(*options, thumbnails.max_height, 16, 512)) continue;
+
+ if (READ_BOOL(*options, thumbnails.enable_caching)) continue;
+ if (READ_BOOL(*options, thumbnails.cache_into_dirs)) continue;
+ if (READ_BOOL(*options, thumbnails.use_xvpics)) continue;
+ if (READ_BOOL(*options, thumbnails.spec_standard)) continue;
+ if (READ_UINT_CLAMP(*options, thumbnails.quality, GDK_INTERP_NEAREST, GDK_INTERP_HYPER)) continue;
+ if (READ_BOOL(*options, thumbnails.use_exif)) continue;
+
+ /* File sorting options */
+ if (READ_UINT(*options, file_sort.method)) continue;
+ if (READ_BOOL(*options, file_sort.ascending)) continue;
+ if (READ_BOOL(*options, file_sort.case_sensitive)) continue;
+ if (READ_BOOL(*options, file_sort.natural)) continue;
+
+ /* File operations *options */
+ if (READ_BOOL(*options, file_ops.enable_in_place_rename)) continue;
+ if (READ_BOOL(*options, file_ops.confirm_delete)) continue;
+ if (READ_BOOL(*options, file_ops.enable_delete_key)) continue;
+ if (READ_BOOL(*options, file_ops.safe_delete_enable)) continue;
+ if (READ_CHAR(*options, file_ops.safe_delete_path)) continue;
+ if (READ_INT(*options, file_ops.safe_delete_folder_maxsize)) continue;
+
+ /* Fullscreen options */
+ if (READ_INT(*options, fullscreen.screen)) continue;
+ if (READ_BOOL(*options, fullscreen.clean_flip)) continue;
+ if (READ_BOOL(*options, fullscreen.disable_saver)) continue;
+ if (READ_BOOL(*options, fullscreen.above)) continue;
+
+ /* Image overlay */
+ if (READ_CHAR(*options, image_overlay.template_string)) continue;
+ if (READ_INT(*options, image_overlay.x)) continue;
+ if (READ_INT(*options, image_overlay.y)) continue;
+ if (READ_USHORT(*options, image_overlay.text_red)) continue;
+ if (READ_USHORT(*options, image_overlay.text_green)) continue;
+ if (READ_USHORT(*options, image_overlay.text_blue)) continue;
+ if (READ_USHORT(*options, image_overlay.text_alpha)) continue;
+ if (READ_USHORT(*options, image_overlay.background_red)) continue;
+ if (READ_USHORT(*options, image_overlay.background_green)) continue;
+ if (READ_USHORT(*options, image_overlay.background_blue)) continue;
+ if (READ_USHORT(*options, image_overlay.background_alpha)) continue;
+ if (READ_CHAR(*options, image_overlay.font)) continue;
+
+ /* Slideshow options */
+ if (READ_INT_UNIT(*options, slideshow.delay, SLIDESHOW_SUBSECOND_PRECISION)) continue;
+ if (READ_BOOL(*options, slideshow.random)) continue;
+ if (READ_BOOL(*options, slideshow.repeat)) continue;
+
+ /* Collection options */
+ if (READ_BOOL(*options, collections.rectangular_selection)) continue;
+
+ /* Filtering options */
+ if (READ_BOOL(*options, file_filter.show_hidden_files)) continue;
+ if (READ_BOOL(*options, file_filter.show_parent_directory)) continue;
+ if (READ_BOOL(*options, file_filter.show_dot_directory)) continue;
+ if (READ_BOOL(*options, file_filter.disable_file_extension_checks)) continue;
+ if (READ_BOOL(*options, file_filter.disable)) continue;
+ if (READ_CHAR(*options, sidecar.ext)) continue;