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;
38 RECVDIALOG_WINDOW_ACTIVE,
48 gboolean filter_on_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;
76 gboolean forward_as_attachment;
77 gboolean smart_wrapping;
85 gboolean display_folder_unread;
86 ToolbarStyle toolbar_style;
87 gboolean show_statusbar;
89 /* gboolean enable_thread; */
90 gboolean enable_hscrollbar;
92 gboolean use_addr_book;
102 gboolean show_unread;
104 gboolean show_number;
109 gboolean show_subject;
114 gint folderview_width;
115 gint folderview_height;
116 gint folder_col_folder;
118 gint folder_col_unread;
119 gint folder_col_total;
121 gint summaryview_width;
122 gint summaryview_height;
123 gint summary_col_mark;
124 gint summary_col_unread;
125 gint summary_col_mime;
126 gint summary_col_number;
127 gint summary_col_size;
128 gint summary_col_date;
129 gint summary_col_from;
130 gint summary_col_subject;
131 gint summary_col_score;
136 gint mainview_height;
149 gboolean enable_color;
150 gint quote_level1_col;
151 gint quote_level2_col;
152 gint quote_level3_col;
156 gboolean recycle_quote_colors;
157 gboolean conv_mb_alnum;
158 gboolean display_header_pane;
159 gboolean display_header;
162 gboolean enable_smooth_scroll;
164 gboolean scroll_halfpage;
166 gchar *force_charset;
168 gboolean show_other_header;
169 GSList *disphdr_list;
172 gchar *mime_image_viewer;
173 gchar *mime_audio_player;
176 gboolean default_encrypt;
177 gboolean default_sign;
178 gboolean auto_check_signatures;
179 gboolean gpg_signature_popup;
180 gboolean passphrase_grab;
181 gchar *default_signkey;
182 gboolean gpg_warning;
187 gboolean emulate_emacs;
188 gboolean open_unread_on_enter;
189 gboolean open_inbox_on_inc;
190 gboolean immediate_exec;
191 gboolean add_address_by_click;
192 RecvDialogShow receive_dialog;
194 gboolean confirm_on_exit;
195 gboolean clean_on_exit;
196 gboolean ask_on_clean;
197 gboolean warn_queued_on_exit;
198 gboolean return_receipt;
203 gchar *ext_editor_cmd;
206 extern PrefsCommon prefs_common;
208 void prefs_common_read_config (void);
209 void prefs_common_save_config (void);
210 void prefs_common_open (void);
212 void prefs_summary_display_item_set (void);
214 #endif /* __PREFS_COMMON_H__ */