aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2007-12-05 23:44:22 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-12-05 23:44:22 +0800
commit8ec38d8ef82b03ba98989666878b02130ed4e7ea (patch)
tree4e9eced5361a313ff2984789ea63041aa2f3e14b /calendar/gui
parentf8f0a9295f9f33e67b024aa43d95239f8a824804 (diff)
downloadgsoc2013-evolution-8ec38d8ef82b03ba98989666878b02130ed4e7ea.tar.gz
gsoc2013-evolution-8ec38d8ef82b03ba98989666878b02130ed4e7ea.tar.zst
gsoc2013-evolution-8ec38d8ef82b03ba98989666878b02130ed4e7ea.zip
** Fix for bug #501474
2007-12-05 Milan Crha <mcrha@redhat.com> ** Fix for bug #501474 * gui/gnome-cal.c: (update_memo_view): Fix wrong expression from bug #359267 svn path=/trunk/; revision=34655
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/gnome-cal.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index bd6c8e710a..98dc0c566d 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1282,11 +1282,12 @@ update_memo_view (GnomeCalendar *gcal)
g_free (priv->memo_sexp);
}
- priv->memo_sexp = g_strdup_printf ("(not (has-start?)) or (and (occur-in-time-range? (make-time \"%s\")"
- " (make-time \"%s\"))"
- " %s)",
+ priv->memo_sexp = g_strdup_printf ("(or (not (has-start?)) (and (occur-in-time-range? (make-time \"%s\")"
+ " (make-time \"%s\"))"
+ " %s))",
iso_start, iso_end,
priv->sexp ? priv->sexp : "");
+
e_cal_model_set_search_query (model, priv->memo_sexp);
g_free (iso_start);