aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-03-16 05:26:35 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-03-16 05:26:35 +0800
commitd9498079f361e18b24ef6113793d481f20cb36ae (patch)
treed7121b2b46b8daf30f37ba7e9692a8e380ec5c0d /calendar/gui/e-cal-model.c
parent9daff943a700fa5305eab1ab0bf2a6150eb56dd8 (diff)
downloadgsoc2013-evolution-d9498079f361e18b24ef6113793d481f20cb36ae.tar.gz
gsoc2013-evolution-d9498079f361e18b24ef6113793d481f20cb36ae.tar.zst
gsoc2013-evolution-d9498079f361e18b24ef6113793d481f20cb36ae.zip
set the search query (e_tasks_init): set the query to be #t by default
2004-03-15 JP Rosevear <jpr@ximian.com> * gui/e-tasks.c (search_bar_sexp_changed_cb): set the search query (e_tasks_init): set the query to be #t by default * gui/e-cal-model.c (redo_queries): use the search query if there is one (and no time is set), make sure to dup the #f svn path=/trunk/; revision=25085
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 2cf8638f9f..d2ae13f9dc 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -1469,8 +1469,10 @@ redo_queries (ECalModel *model)
" %s)",
iso_start, iso_end,
priv->search_sexp ? priv->search_sexp : "");
+ } else if (priv->search_sexp) {
+ priv->full_sexp = g_strdup (priv->search_sexp);
} else {
- priv->full_sexp = ("#f");
+ priv->full_sexp = g_strdup ("#f");
}
/* clean up the current contents */