diff options
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/folder.c | 1 | ||||
-rw-r--r-- | libsylph/folder.h | 1 | ||||
-rw-r--r-- | libsylph/prefs_common.c | 3 | ||||
-rw-r--r-- | libsylph/prefs_common.h | 2 |
4 files changed, 7 insertions, 0 deletions
diff --git a/libsylph/folder.c b/libsylph/folder.c index c63d5ba7..0837c17c 100644 --- a/libsylph/folder.c +++ b/libsylph/folder.c @@ -191,6 +191,7 @@ FolderItem *folder_item_new(const gchar *name, const gchar *path) item->auto_replyto = NULL; item->mark_queue = NULL; item->last_selected = 0; + item->qsearch_cond_type = 0; item->data = NULL; return item; diff --git a/libsylph/folder.h b/libsylph/folder.h index 1c8cd09d..96107261 100644 --- a/libsylph/folder.h +++ b/libsylph/folder.h @@ -294,6 +294,7 @@ struct _FolderItem GSList *mark_queue; guint last_selected; + gint qsearch_cond_type; gpointer data; }; diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index 390f80f2..b00e7620 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -126,6 +126,9 @@ static PrefParam param[] = { {"enable_rules_hint", "TRUE", &prefs_common.enable_rules_hint, P_BOOL}, {"bold_unread", "TRUE", &prefs_common.bold_unread, P_BOOL}, + {"persist_qsearch_filter", "TRUE", &prefs_common.persist_qsearch_filter, + P_BOOL}, + {"toolbar_style", "4", &prefs_common.toolbar_style, P_ENUM}, {"show_searchbar", "TRUE", &prefs_common.show_searchbar, P_BOOL}, {"show_statusbar", "TRUE", &prefs_common.show_statusbar, P_BOOL}, diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h index 0b708be3..52812454 100644 --- a/libsylph/prefs_common.h +++ b/libsylph/prefs_common.h @@ -114,6 +114,8 @@ struct _PrefsCommon gboolean enable_rules_hint; gboolean bold_unread; + gboolean persist_qsearch_filter; + ToolbarStyle toolbar_style; gboolean show_searchbar; gboolean show_statusbar; |