2006-09-27 [wwp] 2.5.2cvs9
[claws.git] / src / prefs_common.h
index 41884ea900c02105374fa3723e617827b3442fac..d46b2c18c497c82ad8b13287668769ae3b85b23e 100644 (file)
@@ -42,6 +42,12 @@ typedef enum {
        RECV_DIALOG_NEVER
 } RecvDialogMode;
 
+typedef enum {
+       COMPOSE_DND_ASK,
+       COMPOSE_DND_INSERT,
+       COMPOSE_DND_ATTACH
+} ComposeDndInsertOrAttach;
+
 typedef enum {
        CTE_AUTO,
        CTE_BASE64,
@@ -88,6 +94,8 @@ struct _PrefsCommon
        gboolean newmail_notify_manu;
        gchar   *newmail_notify_cmd;
        RecvDialogMode recv_dialog_mode;
+       gint receivewin_width;
+       gint receivewin_height;
        gboolean close_recv_dialog;
        gboolean no_recv_err_panel;
 
@@ -95,6 +103,8 @@ struct _PrefsCommon
        gboolean savemsg;
        gboolean confirm_send_queued_messages;
        SendDialogMode send_dialog_mode;
+       gint sendwin_width;
+       gint sendwin_height;
        gchar *outgoing_charset;
        TransferEncodingMethod encoding_method;
 
@@ -115,6 +125,7 @@ struct _PrefsCommon
        gboolean autosave;
        gint autosave_length;
        gboolean compose_no_markup;
+       ComposeDndInsertOrAttach compose_dnd_mode;
 
        /* Quote */
        gboolean reply_with_quote;
@@ -149,6 +160,7 @@ struct _PrefsCommon
        /* new fonts */
        gchar *widgetfont;
        gchar *textfont;
+        gchar *printfont;
        gchar *normalfont;
        gchar *smallfont;
        gchar *titlefont;
@@ -171,7 +183,10 @@ struct _PrefsCommon
        gboolean use_addr_book;
        gchar *date_format;
 
-       gboolean enable_rules_hint;
+       gboolean use_stripes_everywhere;
+       gboolean use_stripes_in_summaries; /* overrides if use_stripes_everywhere is set to TRUE */
+       gint stripes_color_offset;
+       gboolean enable_dotted_lines;
        gboolean enable_hscrollbar;
        gboolean bold_unread;
        gboolean enable_thread;
@@ -264,13 +279,13 @@ struct _PrefsCommon
        gboolean scroll_halfpage;
 
        gboolean show_other_header;
+       gboolean use_different_print_font;
        GSList *disphdr_list;
 
        gboolean attach_desc;
 
        /* MIME viewer */
-       gchar *mime_image_viewer;
-       gchar *mime_audio_player;
+       gchar *mime_textviewer;
        gchar *mime_open_cmd;
        gchar *attach_save_dir;
        gchar *attach_load_dir;
@@ -302,16 +317,23 @@ struct _PrefsCommon
        gchar *pixmap_theme_path;
        int hover_timeout; /* msecs mouse hover timeout */
        gboolean ask_mark_all_read;
+       gboolean ask_apply_per_account_filtering_rules;
+       gint apply_per_account_filtering_rules;
 
        /* Other */
        gchar *uri_cmd;
        gchar *print_cmd;
        gchar *ext_editor_cmd;
 
-        gboolean cliplog;
-        guint loglength;
+    gboolean cliplog;
+    guint loglength;
+       gulong log_msg_color;
+       gulong log_warn_color;
+       gulong log_error_color;
+       gulong log_in_color;
+       gulong log_out_color;
 
-        gboolean confirm_on_exit;
+    gboolean confirm_on_exit;
        gboolean clean_on_exit;
        gboolean ask_on_clean;
        gboolean warn_queued_on_exit;
@@ -347,6 +369,8 @@ struct _PrefsCommon
        gint addressbookwin_height;
        gint addressbookeditpersonwin_width;
        gint addressbookeditpersonwin_height;
+       gint addressbookeditgroupwin_width;
+       gint addressbookeditgroupwin_height;
        gint pluginswin_width;
        gint pluginswin_height;
        gint prefswin_width;
@@ -363,9 +387,15 @@ struct _PrefsCommon
        gint folderselwin_height;
        gint addressaddwin_width;
        gint addressaddwin_height;
+       gint addressbook_folderselwin_width;
+       gint addressbook_folderselwin_height;
 
        gint warn_dnd;
        gint broken_are_utf8;
+       gint skip_ssl_cert_check;
+       gint live_dangerously;
+       gint never_send_retrcpt;
+       gint hide_quotes;
 };
 
 extern PrefsCommon prefs_common;