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 auto_exteditor;
73 gboolean reply_account_autosel;
74 gboolean forward_account_autosel;
75 gboolean reedit_account_autosel;
79 gboolean forward_as_attachment;
80 gboolean smart_wrapping;
82 gboolean enable_pspell;
84 gchar *dictionary_path;
93 gboolean display_folder_unread;
94 ToolbarStyle toolbar_style;
95 gboolean show_statusbar;
97 gboolean enable_thread;
98 gboolean enable_hscrollbar;
99 gboolean expand_thread;
100 gboolean bold_unread;
102 gboolean use_addr_book;
109 gint important_score;
112 gboolean show_unread;
114 gboolean show_number;
119 gboolean show_subject;
124 gint folderview_width;
125 gint folderview_height;
126 gint folder_col_folder;
128 gint folder_col_unread;
129 gint folder_col_total;
131 gint summaryview_width;
132 gint summaryview_height;
133 gint summary_col_mark;
134 gint summary_col_unread;
135 gint summary_col_mime;
136 gint summary_col_number;
137 gint summary_col_size;
138 gint summary_col_date;
139 gint summary_col_from;
140 gint summary_col_subject;
141 gint summary_col_score;
146 gint mainview_height;
159 gboolean enable_color;
160 gint quote_level1_col;
161 gint quote_level2_col;
162 gint quote_level3_col;
166 gboolean recycle_quote_colors;
167 gboolean conv_mb_alnum;
168 gboolean display_header_pane;
169 gboolean display_header;
172 gboolean enable_smooth_scroll;
174 gboolean scroll_halfpage;
176 gchar *force_charset;
178 gboolean show_other_header;
179 GSList *disphdr_list;
182 gchar *mime_image_viewer;
183 gchar *mime_audio_player;
186 gboolean default_encrypt;
187 gboolean default_sign;
188 gboolean auto_check_signatures;
189 gboolean gpg_signature_popup;
190 gboolean passphrase_grab;
191 gchar *default_signkey;
192 gboolean gpg_warning;
197 gboolean emulate_emacs;
198 gboolean open_unread_on_enter;
199 gboolean open_inbox_on_inc;
200 gboolean immediate_exec;
201 RecvDialogMode recv_dialog_mode;
202 gboolean add_address_by_click;
204 gboolean confirm_on_exit;
205 gboolean clean_on_exit;
206 gboolean ask_on_clean;
207 gboolean warn_queued_on_exit;
208 gboolean return_receipt;
213 gchar *ext_editor_cmd;
216 extern PrefsCommon prefs_common;
218 void prefs_common_read_config (void);
219 void prefs_common_save_config (void);
220 void prefs_common_open (void);
222 void prefs_summary_display_item_set (void);
224 #endif /* __PREFS_COMMON_H__ */