/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2002 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2003 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
RECV_DIALOG_NEVER
} RecvDialogMode;
+typedef enum {
+ CTE_AUTO,
+ CTE_BASE64,
+ CTE_QUOTED_PRINTABLE,
+ CTE_8BIT
+} TransferEncodingMethod;
+
typedef enum {
SEND_DIALOG_ALWAYS,
/* SEND_DIALOG_ACTIVE would be irrelevant */
gboolean newmail_notify_auto;
gboolean newmail_notify_manu;
gchar *newmail_notify_cmd;
- gint max_articles;
/* Send */
gboolean use_extsend;
gboolean savemsg;
gboolean queue_msg;
gchar *outgoing_charset;
+ TransferEncodingMethod encoding_method;
/* Compose */
- gboolean auto_sig;
- gchar *sig_sep;
gint undolevels;
gint linewrap_len;
gboolean linewrap_quote;
gchar *normalfont;
gchar *boldfont;
gchar *smallfont;
+
+ gboolean trans_hdr;
gboolean display_folder_unread;
gint ng_abbrev_len;
- ToolbarStyle toolbar_style;
- gboolean show_statusbar;
+
gboolean show_searchbar;
- gboolean trans_hdr;
- gboolean enable_thread;
- gboolean enable_hscrollbar;
- gboolean expand_thread;
- gboolean bold_unread;
gboolean swap_from;
+ gboolean expand_thread;
gboolean use_addr_book;
gchar *date_format;
+ gboolean enable_hscrollbar;
+ gboolean bold_unread;
+ gboolean enable_thread;
+ gboolean thread_by_subject;
+
+ ToolbarStyle toolbar_style;
+ gboolean show_statusbar;
+
gint folderview_vscrollbar_policy;
/* Filtering */
gint msgwin_width;
gint msgwin_height;
+ gint sourcewin_width;
+ gint sourcewin_height;
+
gint compose_width;
gint compose_height;
gint scroll_step;
gboolean scroll_halfpage;
- gboolean display_img;
- gboolean resize_image;
-
gchar *force_charset;
gboolean show_other_header;
GSList *disphdr_list;
+ gboolean attach_desc;
+
/* MIME viewer */
gchar *mime_image_viewer;
gchar *mime_audio_player;
gboolean show_msg_with_cursor_key;
gboolean open_unread_on_enter;
gboolean mark_as_read_on_new_window;
+ gboolean open_on_delete;
gboolean open_inbox_on_inc;
gboolean immediate_exec;
RecvDialogMode recv_dialog_mode;
gboolean clean_on_exit;
gboolean ask_on_clean;
gboolean warn_queued_on_exit;
-#ifdef USE_SSL
+#if 0
+#ifdef USE_OPENSSL
gboolean ssl_ask_unknown_valid;
#endif
+#endif
+
/* Memory cache*/
gint cache_max_mem_usage;
gint cache_min_keep_time;
/* boolean for work offline
stored here for use in inc.c */
gboolean work_offline;
-
+
+ gint summary_quicksearch_type;
+ gint color_new;
};
extern PrefsCommon prefs_common;
void prefs_common_read_config (void);
void prefs_common_save_config (void);
void prefs_common_open (void);
+PrefsCommon *prefs_common_get (void);
#endif /* __PREFS_COMMON_H__ */