aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-09-29 20:43:28 +0800
committerMilan Crha <mcrha@redhat.com>2011-09-29 20:43:28 +0800
commitf8e6c60b2facac19916b72323ce78dbfa137d00c (patch)
tree91ef943cb766652c66a58cd37e090e12ada94edd /modules/calendar/e-cal-shell-view.c
parent14f152070d536316d3ae627e4455318e056189d6 (diff)
downloadgsoc2013-evolution-f8e6c60b2facac19916b72323ce78dbfa137d00c.tar.gz
gsoc2013-evolution-f8e6c60b2facac19916b72323ce78dbfa137d00c.tar.zst
gsoc2013-evolution-f8e6c60b2facac19916b72323ce78dbfa137d00c.zip
Bug #632619 - Recurring events can clutter month view
Diffstat (limited to 'modules/calendar/e-cal-shell-view.c')
-rw-r--r--modules/calendar/e-cal-shell-view.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/calendar/e-cal-shell-view.c b/modules/calendar/e-cal-shell-view.c
index 0a9b7701f8..f644402080 100644
--- a/modules/calendar/e-cal-shell-view.c
+++ b/modules/calendar/e-cal-shell-view.c
@@ -194,6 +194,12 @@ cal_shell_view_execute_search (EShellView *shell_view)
range_search = TRUE;
break;
+ case CALENDAR_FILTER_OCCURS_LESS_THAN_5_TIMES:
+ temp = g_strdup_printf ("(and %s (< (occurrences-count?) 5))", query);
+ g_free (query);
+ query = temp;
+ break;
+
default:
{
GList *categories;