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;
43 NEXTUNREADMSGDIALOG_ALWAYS,
44 NEXTUNREADMSGDIALOG_ASSUME_YES,
45 NEXTUNREADMSGDIALOG_ASSUME_NO
46 } NextUnreadMsgDialogShow;
54 gboolean filter_on_inc;
56 gboolean scan_all_after_inc;
57 gboolean autochk_newmail;
59 gboolean chk_on_startup;
60 gboolean noerrorpanel;
68 gchar *outgoing_charset;
71 gboolean reply_with_quote;
77 gboolean linewrap_quote;
78 gboolean linewrap_at_send;
79 gboolean auto_exteditor;
80 gboolean reply_account_autosel;
81 gboolean forward_account_autosel;
82 gboolean reedit_account_autosel;
86 gboolean forward_as_attachment;
87 gboolean smart_wrapping;
88 gboolean block_cursor;
90 gboolean enable_pspell;
101 gboolean display_folder_unread;
102 ToolbarStyle toolbar_style;
103 gboolean show_statusbar;
105 gboolean enable_thread;
106 gboolean enable_hscrollbar;
107 gboolean expand_thread;
108 gboolean bold_unread;
110 gboolean use_addr_book;
117 gint important_score;
120 gboolean show_unread;
122 gboolean show_number;
127 gboolean show_subject;
132 gint folderview_width;
133 gint folderview_height;
134 gint folder_col_folder;
136 gint folder_col_unread;
137 gint folder_col_total;
139 gint summaryview_width;
140 gint summaryview_height;
141 gint summary_col_mark;
142 gint summary_col_unread;
143 gint summary_col_mime;
144 gint summary_col_number;
145 gint summary_col_size;
146 gint summary_col_date;
147 gint summary_col_from;
148 gint summary_col_subject;
149 gint summary_col_score;
154 gint mainview_height;
167 gboolean enable_color;
168 gint quote_level1_col;
169 gint quote_level2_col;
170 gint quote_level3_col;
174 gboolean recycle_quote_colors;
175 gboolean conv_mb_alnum;
176 gboolean display_header_pane;
177 gboolean display_header;
180 gboolean enable_smooth_scroll;
182 gboolean scroll_halfpage;
184 gchar *force_charset;
186 gboolean show_other_header;
187 GSList *disphdr_list;
190 gchar *mime_image_viewer;
191 gchar *mime_audio_player;
194 gboolean default_encrypt;
195 gboolean ascii_armored;
196 gboolean default_sign;
197 gboolean auto_check_signatures;
198 gboolean gpg_signature_popup;
199 gboolean passphrase_grab;
200 gchar *default_signkey;
201 gboolean gpg_warning;
206 gboolean emulate_emacs;
207 gboolean open_unread_on_enter;
208 gboolean open_inbox_on_inc;
209 gboolean immediate_exec;
210 RecvDialogMode recv_dialog_mode;
211 NextUnreadMsgDialogShow next_unread_msg_dialog;
212 gboolean add_address_by_click;
214 gboolean confirm_on_exit;
215 gboolean clean_on_exit;
216 gboolean ask_on_clean;
217 gboolean warn_queued_on_exit;
218 gboolean return_receipt;
223 gchar *ext_editor_cmd;
226 extern PrefsCommon prefs_common;
228 void prefs_common_read_config (void);
229 void prefs_common_save_config (void);
230 void prefs_common_open (void);
232 void prefs_summary_display_item_set (void);
234 #endif /* __PREFS_COMMON_H__ */