aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-searchbar.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-02-03 23:01:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-02-07 02:46:40 +0800
commit31e449ebed6a136e643ec3bf4c0d9f1b3fc87897 (patch)
treed3ab719626888d56370eee15e2bcc64c2cdbb072 /shell/e-shell-searchbar.h
parentc211d932475c1b53f118bceda65bc4915e90140a (diff)
downloadgsoc2013-evolution-31e449ebed6a136e643ec3bf4c0d9f1b3fc87897.tar.gz
gsoc2013-evolution-31e449ebed6a136e643ec3bf4c0d9f1b3fc87897.tar.zst
gsoc2013-evolution-31e449ebed6a136e643ec3bf4c0d9f1b3fc87897.zip
Implement account-wide search scope in mail.
Also, let EShellSearchbar handle search state persistence.
Diffstat (limited to 'shell/e-shell-searchbar.h')
-rw-r--r--shell/e-shell-searchbar.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/shell/e-shell-searchbar.h b/shell/e-shell-searchbar.h
index 79b593b1cd..23fa480a86 100644
--- a/shell/e-shell-searchbar.h
+++ b/shell/e-shell-searchbar.h
@@ -83,6 +83,11 @@ gboolean e_shell_searchbar_get_filter_visible
void e_shell_searchbar_set_filter_visible
(EShellSearchbar *searchbar,
gboolean filter_visible);
+gboolean e_shell_searchbar_get_label_visible
+ (EShellSearchbar *searchbar);
+void e_shell_searchbar_set_label_visible
+ (EShellSearchbar *searchbar,
+ gboolean label_visible);
const gchar * e_shell_searchbar_get_search_hint
(EShellSearchbar *searchbar);
void e_shell_searchbar_set_search_hint
@@ -103,11 +108,6 @@ gboolean e_shell_searchbar_get_search_visible
void e_shell_searchbar_set_search_visible
(EShellSearchbar *searchbar,
gboolean search_visible);
-gboolean e_shell_searchbar_get_label_visible
- (EShellSearchbar *searchbar);
-void e_shell_searchbar_set_label_visible
- (EShellSearchbar *searchbar,
- gboolean label_visible);
EActionComboBox *
e_shell_searchbar_get_scope_combo_box
(EShellSearchbar *searchbar);
@@ -116,8 +116,15 @@ gboolean e_shell_searchbar_get_scope_visible
void e_shell_searchbar_set_scope_visible
(EShellSearchbar *searchbar,
gboolean scope_visible);
-void e_shell_searchbar_restore_state (EShellSearchbar *searchbar,
- const gchar *group_name);
+void e_shell_searchbar_set_state_dirty
+ (EShellSearchbar *searchbar);
+const gchar * e_shell_searchbar_get_state_group
+ (EShellSearchbar *searchbar);
+void e_shell_searchbar_set_state_group
+ (EShellSearchbar *searchbar,
+ const gchar *state_group);
+void e_shell_searchbar_load_state (EShellSearchbar *searchbar);
+void e_shell_searchbar_save_state (EShellSearchbar *searchbar);
G_END_DECLS