/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Sylpheed-Claws team
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Claws Mail team
*
* 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
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;
gboolean savemsg;
gboolean confirm_send_queued_messages;
SendDialogMode send_dialog_mode;
+ gint sendwin_width;
+ gint sendwin_height;
gchar *outgoing_charset;
TransferEncodingMethod encoding_method;
gint autosave_length;
gboolean compose_no_markup;
ComposeDndInsertOrAttach compose_dnd_mode;
+ gboolean compose_with_format;
+ gchar *compose_subject_format;
+ gchar *compose_body_format;
/* Quote */
gboolean reply_with_quote;
gboolean enable_aspell;
gchar *aspell_path;
gchar *dictionary;
+ gchar *alt_dictionary;
gulong misspelled_col;
gint aspell_sugmode;
gboolean check_while_typing;
gboolean recheck_when_changing_dict;
gboolean use_alternate;
+ gboolean use_both_dicts;
#endif
/* Display */
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_smooth_scroll;
gint scroll_step;
gboolean scroll_halfpage;
+ gboolean respect_flowed_format;
gboolean show_other_header;
gboolean use_different_print_font;
gboolean gpg_warning;
#endif /* USE_GPGME */
+ /* Addressbook */
+ gboolean addressbook_use_editaddress_dialog;
+ gint addressbook_hpaned_pos;
+ gint addressbook_vpaned_pos;
+
/* Interface */
gboolean sep_folder;
gboolean sep_msg;
gint summary_quicksearch_type;
gint summary_quicksearch_sticky;
gint summary_quicksearch_recurse;
+ gint summary_quicksearch_dynamic;
gulong color_new;
GList *summary_quicksearch_history;
+ GList *summary_search_from_history;
+ GList *summary_search_to_history;
+ GList *summary_search_subject_history;
+ GList *summary_search_body_history;
+ GList *summary_search_adv_condition_history;
+ GList *message_search_history;
gint filteringwin_width;
gint filteringwin_height;
gint addressbookwin_height;
gint addressbookeditpersonwin_width;
gint addressbookeditpersonwin_height;
+ gint addressbookeditgroupwin_width;
+ gint addressbookeditgroupwin_height;
gint pluginswin_width;
gint pluginswin_height;
gint prefswin_width;
gint live_dangerously;
gint never_send_retrcpt;
gint hide_quotes;
+ gboolean unsafe_ssl_certs;
};
extern PrefsCommon prefs_common;
void prefs_common_write_config (void);
void prefs_common_open (void);
PrefsCommon *prefs_common_get (void);
-void pref_set_textview_from_pref(GtkTextView *textview, gchar *txt);
+void pref_get_unescaped_pref(gchar *out, const gchar *in);
+void pref_get_escaped_pref(gchar *out, const gchar *in);
+void pref_set_textview_from_pref(GtkTextView *textview, const gchar *txt);
+void pref_set_entry_from_pref(GtkEntry *entry, const gchar *txt);
gchar *pref_get_pref_from_textview(GtkTextView *textview);
+gchar *pref_get_pref_from_entry(GtkEntry *entry);
#endif /* __PREFS_COMMON_H__ */