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;
41 gboolean filter_on_inc;
43 gboolean autochk_newmail;
45 gboolean chk_on_startup;
53 gchar *outgoing_charset;
56 gboolean reply_with_quote;
62 gboolean linewrap_quote;
63 gboolean linewrap_at_send;
67 gboolean forward_as_attachment;
75 gboolean display_folder_unread;
76 ToolbarStyle toolbar_style;
77 gboolean show_statusbar;
79 /* gboolean enable_thread; */
80 gboolean enable_hscrollbar;
82 gboolean use_addr_book;
99 gboolean show_subject;
104 gint folderview_width;
105 gint folderview_height;
106 gint folder_col_folder;
108 gint folder_col_unread;
109 gint folder_col_total;
111 gint summaryview_width;
112 gint summaryview_height;
113 gint summary_col_mark;
114 gint summary_col_unread;
115 gint summary_col_mime;
116 gint summary_col_number;
117 gint summary_col_size;
118 gint summary_col_date;
119 gint summary_col_from;
120 gint summary_col_subject;
121 gint summary_col_score;
126 gint mainview_height;
139 gboolean enable_color;
140 gint quote_level1_col;
141 gint quote_level2_col;
142 gint quote_level3_col;
145 gboolean recycle_quote_colors;
146 gboolean conv_mb_alnum;
147 gboolean display_header_pane;
148 gboolean display_header;
151 gboolean enable_smooth_scroll;
153 gboolean scroll_halfpage;
155 gchar *force_charset;
157 gboolean show_other_header;
158 GSList *disphdr_list;
161 gchar *mime_image_viewer;
162 gchar *mime_audio_player;
165 gboolean default_encrypt;
166 gboolean default_sign;
167 gboolean auto_check_signatures;
168 gboolean gpg_signature_popup;
169 gboolean passphrase_grab;
170 gchar *default_signkey;
171 gboolean gpg_warning;
176 gboolean emulate_emacs;
177 gboolean open_unread_on_enter;
178 gboolean open_inbox_on_inc;
179 gboolean immediate_exec;
180 gboolean add_address_by_click;
182 gboolean confirm_on_exit;
183 gboolean clean_on_exit;
184 gboolean ask_on_clean;
185 gboolean warn_queued_on_exit;
186 gboolean return_receipt;
191 gchar *ext_editor_cmd;
194 extern PrefsCommon prefs_common;
196 void prefs_common_read_config (void);
197 void prefs_common_save_config (void);
198 void prefs_common_open (void);
200 void prefs_summary_display_item_set (void);
202 #endif /* __PREFS_COMMON_H__ */