gboolean place_dialogs_under_mouse;
gboolean mousewheel_scrolls;
gboolean image_lm_click_nav;
+ gboolean image_l_click_video;
+ gchar *image_l_click_video_editor;
gboolean show_icon_names;
+ gboolean show_star_rating;
+ gboolean show_guidelines;
+ gboolean draw_rectangle;
+ gboolean show_predefined_keyword_tree;
+ gboolean overunderexposed;
+ gboolean expand_menu_toolbar;
/* various */
gboolean tree_descend_subdirs;
gint open_recent_list_maxsize;
gint dnd_icon_size;
+ DnDAction dnd_default_action;
+ gint clipboard_selection;
gboolean save_window_positions;
gboolean use_saved_window_positions_for_new_windows;
+ gboolean save_window_workspace;
gboolean tools_restore_state;
+ gboolean save_dialog_window_positions;
+ gboolean show_window_ids;
gint log_window_lines;
+ gboolean marks_save; // save marks on exit
+ gchar *marks_tooltips[FILEDATA_MARKS_SIZE];
+
+ gboolean with_rename;
+ gboolean collections_on_top;
+ gboolean hide_window_in_fullscreen;
+
+ gchar *help_search_engine;
+
/* info sidebar component heights */
struct {
gint height;
gboolean enable_in_place_rename;
gboolean confirm_delete;
+ gboolean confirm_move_to_trash;
gboolean enable_delete_key;
gboolean safe_delete_enable;
+ gboolean use_system_trash;
gchar *safe_delete_path;
gint safe_delete_folder_maxsize;
+ gboolean no_trash;
} file_ops;
/* image */
gboolean spec_standard;
guint quality;
gboolean use_exif;
+ gboolean use_ft_metadata;
+ gint collection_preview;
+// gboolean use_ft_metadata_small;
} thumbnails;
/* file filtering */
gboolean line_wrap;
gboolean timer_data;
} log_window;
+
+ /* star rating */
+ struct {
+ gunichar star;
+ gunichar rejected;
+ } star_rating;
+
+ /* Printer */
+ struct {
+ gchar *image_font;
+ gchar *page_font;
+ gboolean show_image_text;
+ gboolean show_page_text;
+ gchar *page_text;
+ gint image_text_position;
+ gint page_text_position;
+ gchar *template_string;
+ } printer;
+
+ /* user-definable mouse buttons */
+ gchar *mouse_button_8;
+ gchar *mouse_button_9;
+
+ /* class file filter */
+ gboolean class_filter[FILE_FORMAT_CLASSES];
+
+ gboolean read_metadata_in_idle;
+
+ /* GPU - see main.c */
+ gboolean disable_gpu;
+ gboolean override_disable_gpu;
+
+ GList *disabled_plugins;
};
-ConfOptions *options;
-CommandLine *command_line;
+extern ConfOptions *options;
+extern CommandLine *command_line;
ConfOptions *init_options(ConfOptions *options);
void setup_default_options(ConfOptions *options);