2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999,2000 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__
25 #include "mainwindow.h"
29 typedef struct _PrefsCommon PrefsCommon;
37 gboolean filter_on_inc;
39 gboolean autochk_newmail;
41 gboolean chk_on_startup;
49 gchar *outgoing_charset;
52 gboolean reply_with_quote;
58 gboolean linewrap_quote;
59 gboolean linewrap_at_send;
65 gboolean display_folder_unread;
66 ToolbarStyle toolbar_style;
67 gboolean show_statusbar;
69 gboolean enable_thread;
70 gboolean enable_hscrollbar;
83 gboolean show_subject;
88 gint folderview_width;
89 gint folderview_height;
90 gint folder_col_folder;
92 gint folder_col_unread;
93 gint folder_col_total;
95 gint summaryview_width;
96 gint summaryview_height;
97 gint summary_col_mark;
98 gint summary_col_unread;
99 gint summary_col_mime;
100 gint summary_col_number;
101 gint summary_col_size;
102 gint summary_col_date;
103 gint summary_col_from;
104 gint summary_col_subject;
109 gint mainview_height;
122 gboolean enable_color;
123 gint quote_level1_col;
124 gint quote_level2_col;
125 gint quote_level3_col;
128 gboolean recycle_quote_colors;
129 gboolean conv_mb_alnum;
130 gboolean display_header_pane;
131 gboolean display_header;
134 gboolean enable_smooth_scroll;
136 gboolean scroll_halfpage;
138 gchar *force_charset;
141 gchar *mime_image_viewer;
142 gchar *mime_audio_player;
145 gboolean default_encrypt;
146 gboolean default_sign;
147 gboolean auto_check_signatures;
148 gboolean passphrase_grab;
149 gchar *default_signkey;
154 gboolean emulate_emacs;
155 gboolean open_unread_on_enter;
156 gboolean open_inbox_on_inc;
157 gboolean immediate_exec;
158 gboolean add_address_by_click;
160 gboolean confirm_on_exit;
161 gboolean clean_on_exit;
162 gboolean ask_on_clean;
167 gchar *ext_editor_cmd;
170 extern PrefsCommon prefs_common;
172 void prefs_common_read_config (void);
173 void prefs_common_save_config (void);
174 void prefs_common_open (void);
176 void prefs_summary_display_item_set (void);
178 #endif /* __PREFS_COMMON_H__ */