do not use description as attachment name
[claws.git] / src / prefs_common.h
index 74142ea253a056e42ab1ff9e2f84b4391f967e9d..0622f127df3485e2550680d5963f5113c6f03db0 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * 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
@@ -39,6 +39,13 @@ typedef enum {
        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 */
@@ -67,7 +74,6 @@ struct _PrefsCommon
        gboolean newmail_notify_auto;
        gboolean newmail_notify_manu;
        gchar   *newmail_notify_cmd;
-       gint max_articles;
 
        /* Send */
        gboolean use_extsend;
@@ -75,10 +81,9 @@ struct _PrefsCommon
        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;
@@ -135,6 +140,7 @@ struct _PrefsCommon
        gboolean enable_hscrollbar;
        gboolean bold_unread;
        gboolean enable_thread;
+       gboolean thread_by_subject;
 
        ToolbarStyle toolbar_style;
        gboolean show_statusbar;
@@ -180,6 +186,9 @@ struct _PrefsCommon
        gint msgwin_width;
        gint msgwin_height;
 
+       gint sourcewin_width;
+       gint sourcewin_height;
+
        gint compose_width;
        gint compose_height;
 
@@ -209,6 +218,8 @@ struct _PrefsCommon
        gboolean show_other_header;
        GSList *disphdr_list;
 
+       gboolean attach_desc;
+
        /* MIME viewer */
        gchar *mime_image_viewer;
        gchar *mime_audio_player;
@@ -255,9 +266,12 @@ struct _PrefsCommon
        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;
@@ -265,7 +279,9 @@ struct _PrefsCommon
        /* 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;