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
;
76 gboolean forward_as_attachment
;
77 gboolean smart_wrapping
;
78 gboolean enable_ispell
;
80 gchar
*dictionary_path
;
88 gboolean display_folder_unread
;
89 ToolbarStyle toolbar_style
;
90 gboolean show_statusbar
;
92 gboolean enable_thread
;
93 gboolean enable_hscrollbar
;
94 gboolean expand_thread
;
97 gboolean use_addr_book
;
104 gint important_score
;
107 gboolean show_unread
;
109 gboolean show_number
;
114 gboolean show_subject
;
119 gint folderview_width
;
120 gint folderview_height
;
121 gint folder_col_folder
;
123 gint folder_col_unread
;
124 gint folder_col_total
;
126 gint summaryview_width
;
127 gint summaryview_height
;
128 gint summary_col_mark
;
129 gint summary_col_unread
;
130 gint summary_col_mime
;
131 gint summary_col_number
;
132 gint summary_col_size
;
133 gint summary_col_date
;
134 gint summary_col_from
;
135 gint summary_col_subject
;
136 gint summary_col_score
;
141 gint mainview_height
;
154 gboolean enable_color
;
155 gint quote_level1_col
;
156 gint quote_level2_col
;
157 gint quote_level3_col
;
161 gboolean recycle_quote_colors
;
162 gboolean conv_mb_alnum
;
163 gboolean display_header_pane
;
164 gboolean display_header
;
167 gboolean enable_smooth_scroll
;
169 gboolean scroll_halfpage
;
171 gchar
*force_charset
;
173 gboolean show_other_header
;
174 GSList
*disphdr_list
;
177 gchar
*mime_image_viewer
;
178 gchar
*mime_audio_player
;
181 gboolean default_encrypt
;
182 gboolean default_sign
;
183 gboolean auto_check_signatures
;
184 gboolean gpg_signature_popup
;
185 gboolean passphrase_grab
;
186 gchar
*default_signkey
;
187 gboolean gpg_warning
;
192 gboolean emulate_emacs
;
193 gboolean open_unread_on_enter
;
194 gboolean open_inbox_on_inc
;
195 gboolean immediate_exec
;
196 RecvDialogMode recv_dialog_mode
;
197 gboolean add_address_by_click
;
199 gboolean confirm_on_exit
;
200 gboolean clean_on_exit
;
201 gboolean ask_on_clean
;
202 gboolean warn_queued_on_exit
;
203 gboolean return_receipt
;
208 gchar
*ext_editor_cmd
;
211 extern PrefsCommon prefs_common
;
213 void prefs_common_read_config (void);
214 void prefs_common_save_config (void);
215 void prefs_common_open (void);
217 void prefs_summary_display_item_set (void);
219 #endif /* __PREFS_COMMON_H__ */