2006-12-28 [wwp] 2.6.1cvs82
[claws.git] / src / prefs_common.h
index e04c43d9f6dc7b565ec07ff985ef68d7aff1a590..b69087bf4b682f66debdfd500c67195fb90e4002 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * 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
@@ -126,6 +126,9 @@ struct _PrefsCommon
        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;
@@ -142,11 +145,13 @@ struct _PrefsCommon
        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 */
@@ -303,6 +308,11 @@ struct _PrefsCommon
        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;
@@ -356,6 +366,12 @@ struct _PrefsCommon
        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;
@@ -398,6 +414,7 @@ struct _PrefsCommon
        gint live_dangerously;
        gint never_send_retrcpt;
        gint hide_quotes;
+       gboolean unsafe_ssl_certs;
 };
 
 extern PrefsCommon prefs_common;
@@ -407,7 +424,10 @@ void prefs_common_write_config     (void);
 void prefs_common_open         (void);
 PrefsCommon *prefs_common_get  (void);
 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__ */