aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-content.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-14 08:30:08 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-14 08:30:08 +0800
commitccd8e3964f548798eb05a430b3ea81b2760069cc (patch)
tree384bc6d1922e4b3ecf98d698fcd921dceeeeef8a /shell/e-shell-content.c
parent4f60c57f314db049153feeb2a8b28cfeaf4fa81a (diff)
downloadgsoc2013-evolution-ccd8e3964f548798eb05a430b3ea81b2760069cc.tar.gz
gsoc2013-evolution-ccd8e3964f548798eb05a430b3ea81b2760069cc.tar.zst
gsoc2013-evolution-ccd8e3964f548798eb05a430b3ea81b2760069cc.zip
Get mail search bar partially working without help from EFilterBar.
Search scope (current folder, current account, etc.) is still ignored. svn path=/branches/kill-bonobo/; revision=37263
Diffstat (limited to 'shell/e-shell-content.c')
-rw-r--r--shell/e-shell-content.c47
1 files changed, 1 insertions, 46 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index aaa4bb47fa..e83bb341ef 100644
--- a/shell/e-shell-content.c
+++ b/shell/e-shell-content.c
@@ -66,7 +66,6 @@ enum {
PROP_SEARCH_CONTEXT,
PROP_SEARCH_RULE,
PROP_SEARCH_TEXT,
- PROP_SEARCH_VALUE,
PROP_SEARCH_VISIBLE,
PROP_SCOPE_ACTION,
PROP_SCOPE_VALUE,
@@ -78,7 +77,7 @@ static gpointer parent_class;
static void
shell_content_dialog_rule_changed (GtkWidget *dialog,
- FilterRule *rule)
+ FilterRule *rule)
{
gboolean sensitive;
@@ -318,12 +317,6 @@ shell_content_set_property (GObject *object,
g_value_get_string (value));
return;
- case PROP_SEARCH_VALUE:
- e_shell_content_set_search_value (
- E_SHELL_CONTENT (object),
- g_value_get_int (value));
- return;
-
case PROP_SEARCH_VISIBLE:
e_shell_content_set_search_visible (
E_SHELL_CONTENT (object),
@@ -401,12 +394,6 @@ shell_content_get_property (GObject *object,
E_SHELL_CONTENT (object)));
return;
- case PROP_SEARCH_VALUE:
- g_value_set_int (
- value, e_shell_content_get_search_value (
- E_SHELL_CONTENT (object)));
- return;
-
case PROP_SEARCH_VISIBLE:
g_value_set_boolean (
value, e_shell_content_get_search_visible (
@@ -725,18 +712,6 @@ shell_content_class_init (EShellContentClass *class)
g_object_class_install_property (
object_class,
- PROP_SEARCH_VALUE,
- g_param_spec_int (
- "search-value",
- NULL,
- NULL,
- G_MININT,
- G_MAXINT,
- 0,
- G_PARAM_READWRITE));
-
- g_object_class_install_property (
- object_class,
PROP_SEARCH_VISIBLE,
g_param_spec_boolean (
"search-visible",
@@ -1138,26 +1113,6 @@ e_shell_content_set_search_text (EShellContent *shell_content,
g_object_notify (G_OBJECT (shell_content), "search-text");
}
-gint
-e_shell_content_get_search_value (EShellContent *shell_content)
-{
- g_return_val_if_fail (E_IS_SHELL_CONTENT (shell_content), 0);
-
- /* FIXME */
- return 0;
-}
-
-void
-e_shell_content_set_search_value (EShellContent *shell_content,
- gint search_value)
-{
- g_return_if_fail (E_IS_SHELL_CONTENT (shell_content));
-
- /* FIXME */
-
- g_object_notify (G_OBJECT (shell_content), "search-value");
-}
-
gboolean
e_shell_content_get_search_visible (EShellContent *shell_content)
{