2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2001 Hiroyuki Yamamoto
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 #ifndef __PREFS_COMMON_H__
21 #define __PREFS_COMMON_H__
29 #include "mainwindow.h"
33 typedef struct _PrefsCommon PrefsCommon;
47 gboolean filter_on_inc;
49 gboolean scan_all_after_inc;
50 gboolean autochk_newmail;
52 gboolean chk_on_startup;
53 gboolean noerrorpanel;
61 gchar *outgoing_charset;
64 gboolean reply_with_quote;
70 gboolean linewrap_quote;
71 gboolean linewrap_at_send;
72 gboolean reply_account_autosel;
73 gboolean forward_account_autosel;
74 gboolean reedit_account_autosel;
78 gboolean forward_as_attachment;
79 gboolean smart_wrapping;
80 gboolean enable_ispell;
82 gchar *dictionary_path;
90 gboolean display_folder_unread;
91 ToolbarStyle toolbar_style;
92 gboolean show_statusbar;
94 gboolean enable_thread;
95 gboolean enable_hscrollbar;
96 gboolean expand_thread;
99 gboolean use_addr_book;
106 gint important_score;
109 gboolean show_unread;
111 gboolean show_number;
116 gboolean show_subject;
121 gint folderview_width;
122 gint folderview_height;
123 gint folder_col_folder;
125 gint folder_col_unread;
126 gint folder_col_total;
128 gint summaryview_width;
129 gint summaryview_height;
130 gint summary_col_mark;
131 gint summary_col_unread;
132 gint summary_col_mime;
133 gint summary_col_number;
134 gint summary_col_size;
135 gint summary_col_date;
136 gint summary_col_from;
137 gint summary_col_subject;
138 gint summary_col_score;
143 gint mainview_height;
156 gboolean enable_color;
157 gint quote_level1_col;
158 gint quote_level2_col;
159 gint quote_level3_col;
163 gboolean recycle_quote_colors;
164 gboolean conv_mb_alnum;
165 gboolean display_header_pane;
166 gboolean display_header;
169 gboolean enable_smooth_scroll;
171 gboolean scroll_halfpage;
173 gchar *force_charset;
175 gboolean show_other_header;
176 GSList *disphdr_list;
179 gchar *mime_image_viewer;
180 gchar *mime_audio_player;
183 gboolean default_encrypt;
184 gboolean default_sign;
185 gboolean auto_check_signatures;
186 gboolean gpg_signature_popup;
187 gboolean passphrase_grab;
188 gchar *default_signkey;
189 gboolean gpg_warning;
194 gboolean emulate_emacs;
195 gboolean open_unread_on_enter;
196 gboolean open_inbox_on_inc;
197 gboolean immediate_exec;
198 RecvDialogMode recv_dialog_mode;
199 gboolean add_address_by_click;
201 gboolean confirm_on_exit;
202 gboolean clean_on_exit;
203 gboolean ask_on_clean;
204 gboolean warn_queued_on_exit;
205 gboolean return_receipt;
210 gchar *ext_editor_cmd;
213 extern PrefsCommon prefs_common;
215 void prefs_common_read_config (void);
216 void prefs_common_save_config (void);
217 void prefs_common_open (void);
219 void prefs_summary_display_item_set (void);
221 #endif /* __PREFS_COMMON_H__ */