Fix #756: Set default option for file drag-drop, skipping "Move/Copy/Symlink" popup
[geeqie.git] / src / options.h
index 021b22a..5644929 100644 (file)
@@ -31,7 +31,14 @@ struct _ConfOptions
        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;
 
        /* various */
        gboolean tree_descend_subdirs;
@@ -41,24 +48,62 @@ struct _ConfOptions
        gboolean update_on_time_change;
 
        guint duplicates_similarity_threshold;
+       guint duplicates_match;
+       gboolean duplicates_thumbnails;
+       guint duplicates_select_type;
        gboolean rot_invariant_sim;
+       gboolean sort_totals;
 
        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 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;
+
+       gchar *help_search_engine;
+
+       /* info sidebar component heights */
+       struct {
+               gint height;
+       } info_comment;
+
+       struct {
+               gint height;
+       } info_keywords;
+
+       struct {
+               gint height;
+       } info_title;
+
+       struct {
+               gint height;
+       } info_rating;
 
        /* file ops */
        struct {
                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 */
@@ -71,6 +116,7 @@ struct _ConfOptions
                gint max_window_size;
                gboolean limit_autofit_size;
                gint max_autofit_size;
+               gint max_enlargement_size;
 
                gint tile_cache_max;    /* in megabytes */
                gint image_cache_max;   /* in megabytes */
@@ -86,6 +132,8 @@ struct _ConfOptions
                gboolean use_custom_border_color_in_fullscreen;
                gboolean use_custom_border_color;
                GdkColor border_color;
+               GdkColor alpha_color_1;
+               GdkColor alpha_color_2;
        } image;
 
        /* thumbnails */
@@ -98,6 +146,9 @@ struct _ConfOptions
                gboolean spec_standard;
                guint quality;
                gboolean use_exif;
+               gboolean use_ft_metadata;
+               gint collection_preview;
+//             gboolean use_ft_metadata_small;
        } thumbnails;
 
        /* file filtering */
@@ -207,6 +258,7 @@ struct _ConfOptions
                gboolean confirm_on_dir_change;
                gboolean keywords_case_sensitive;
                gboolean write_orientation;
+               gboolean sidecar_extended_name;
        } metadata;
 
        /* Stereo */
@@ -232,10 +284,54 @@ struct _ConfOptions
                        gboolean fs_temp_disable;
                } tmp;
        } stereo;
+
+       /* copy move rename */
+       struct {
+               gint auto_start;
+               gchar *auto_end;
+               gint auto_padding;
+               gint formatted_start;
+       } cp_mv_rn;
+
+       /* log window */
+       struct {
+               gboolean paused;
+               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;
+
+       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);