/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2004 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2005 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
SEND_DIALOG_NEVER
} SendDialogMode;
+typedef enum
+{
+ SELECTONENTRY_UNREAD = 1 << 0,
+ SELECTONENTRY_NEW = 1 << 1
+} SelectOnEntry;
+
typedef enum
{
NEXTUNREADMSGDIALOG_ALWAYS,
/* Send */
gboolean savemsg;
+ gboolean confirm_send_queued_messages;
SendDialogMode send_dialog_mode;
gchar *outgoing_charset;
TransferEncodingMethod encoding_method;
gboolean use_addr_book;
gchar *date_format;
+ gboolean enable_rules_hint;
gboolean enable_hscrollbar;
gboolean bold_unread;
gboolean enable_thread;
gboolean display_header_pane;
gboolean display_header;
gint line_space;
+ gboolean render_html;
+ gboolean textview_cursor_visible;
gboolean enable_smooth_scroll;
gint scroll_step;
gboolean scroll_halfpage;
gboolean sep_msg;
gboolean emulate_emacs;
gboolean always_show_msg;
- gboolean open_unread_on_enter;
gboolean mark_as_read_on_new_window;
gboolean mark_as_read_delay;
gboolean open_inbox_on_inc;
gboolean immediate_exec;
+ SelectOnEntry select_on_entry;
NextUnreadMsgDialogShow next_unread_msg_dialog;
gboolean add_address_by_click;
gchar *pixmap_theme_path;
gulong color_new;
GList *summary_quicksearch_history;
+
+ gint filteringwin_width;
+ gint filteringwin_height;
+ gint warn_dnd;
};
extern PrefsCommon prefs_common;
-void prefs_common_init (void);
void prefs_common_read_config (void);
void prefs_common_write_config (void);
void prefs_common_open (void);
PrefsCommon *prefs_common_get (void);
+void pref_set_textview_from_pref(GtkTextView *textview, gchar *txt);
+gchar *pref_get_pref_from_textview(GtkTextView *textview);
#endif /* __PREFS_COMMON_H__ */