#include "codeconv.h"
#include "textview.h"
#include "procmime.h"
+#include "prefs_msg_colors.h"
typedef struct _PrefsCommon PrefsCommon;
RECV_DIALOG_NEVER
} RecvDialogMode;
+typedef enum {
+ COMPOSE_DND_ASK,
+ COMPOSE_DND_INSERT,
+ COMPOSE_DND_ATTACH
+} ComposeDndInsertOrAttach;
+
typedef enum {
CTE_AUTO,
CTE_BASE64,
typedef enum
{
- SELECTONENTRY_UNREAD = 1 << 0,
- SELECTONENTRY_NEW = 1 << 1
+/* U = unread, N = new, M = marked */
+ SELECTONENTRY_NOTHING,
+ SELECTONENTRY_UNM,
+ SELECTONENTRY_UMN,
+ SELECTONENTRY_NUM,
+ SELECTONENTRY_NMU,
+ SELECTONENTRY_MNU,
+ SELECTONENTRY_MUN
} SelectOnEntry;
typedef enum
gboolean show_ruler;
gboolean autosave;
gint autosave_length;
-
+ gboolean compose_no_markup;
+ ComposeDndInsertOrAttach compose_dnd_mode;
+
/* Quote */
gboolean reply_with_quote;
gchar *quotemark;
/* new fonts */
gchar *widgetfont;
gchar *textfont;
+ gchar *printfont;
gchar *normalfont;
gchar *smallfont;
gchar *titlefont;
+ /* custom colors */
+ ColorlabelPrefs custom_colorlabel[COLORLABELS];
+
/* image viewer */
gboolean display_img;
gboolean resize_img;
/* Message */
gboolean enable_color;
+ gboolean enable_bgcolor;
gulong quote_level1_col;
gulong quote_level2_col;
gulong quote_level3_col;
+ gulong quote_level1_bgcol;
+ gulong quote_level2_bgcol;
+ gulong quote_level3_bgcol;
gulong uri_col;
gulong tgt_folder_col;
gulong signature_col;
gboolean display_xface;
gint line_space;
gboolean render_html;
+ gboolean invoke_plugin_on_html;
gboolean textview_cursor_visible;
gboolean enable_smooth_scroll;
gint scroll_step;
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_textviewer;
gchar *mime_audio_player;
gchar *mime_open_cmd;
gchar *attach_save_dir;
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;
gint io_timeout_secs;
-#if 0
-#ifdef USE_OPENSSL
- gboolean ssl_ask_unknown_valid;
-#endif
-#endif
-
/* Memory cache*/
gint cache_max_mem_usage;
gint cache_min_keep_time;
gint accountswin_height;
gint logwin_width;
gint logwin_height;
+ gint folderselwin_width;
+ 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;
};
extern PrefsCommon prefs_common;