aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/modules/e-task-shell-view-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-10-04 12:46:50 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-10-04 12:46:50 +0800
commit2c71859895d091f51dea23f9ed9552a0962b7ba4 (patch)
tree0b5e24581de31595b494e9c1b359d487ad1f3f48 /calendar/modules/e-task-shell-view-actions.c
parentff5e0b312d04daf97b35616b55280ae7f2d17cf7 (diff)
downloadgsoc2013-evolution-2c71859895d091f51dea23f9ed9552a0962b7ba4.tar
gsoc2013-evolution-2c71859895d091f51dea23f9ed9552a0962b7ba4.tar.gz
gsoc2013-evolution-2c71859895d091f51dea23f9ed9552a0962b7ba4.tar.bz2
gsoc2013-evolution-2c71859895d091f51dea23f9ed9552a0962b7ba4.tar.lz
gsoc2013-evolution-2c71859895d091f51dea23f9ed9552a0962b7ba4.tar.xz
gsoc2013-evolution-2c71859895d091f51dea23f9ed9552a0962b7ba4.tar.zst
gsoc2013-evolution-2c71859895d091f51dea23f9ed9552a0962b7ba4.zip
Tweak some aspects of the Contacts module to be more consistent with
Tasks and Memos. Take a crack at handling command-line URIs. It's far too long-winded though. Will need to revisit and tighten up the code. svn path=/branches/kill-bonobo/; revision=36554
Diffstat (limited to 'calendar/modules/e-task-shell-view-actions.c')
-rw-r--r--calendar/modules/e-task-shell-view-actions.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/calendar/modules/e-task-shell-view-actions.c b/calendar/modules/e-task-shell-view-actions.c
index 00911677fa..fe7331b4be 100644
--- a/calendar/modules/e-task-shell-view-actions.c
+++ b/calendar/modules/e-task-shell-view-actions.c
@@ -785,7 +785,14 @@ static GtkRadioActionEntry task_filter_entries[] = {
N_("Tasks with Attachments"),
NULL,
NULL, /* XXX Add a tooltip! */
- TASK_FILTER_TASKS_WITH_ATTACHMENTS }
+ TASK_FILTER_TASKS_WITH_ATTACHMENTS },
+
+ { "task-filter-unmatched",
+ NULL,
+ N_("Unmatched"),
+ NULL,
+ NULL, /* XXX Add a tooltip! */
+ TASK_FILTER_UNMATCHED }
};
static GtkRadioActionEntry task_search_entries[] = {
@@ -924,4 +931,10 @@ e_task_shell_view_update_search_filter (ETaskShellView *task_shell_view)
/* Use any action in the group; doesn't matter which. */
e_shell_content_set_filter_action (shell_content, radio_action);
+
+ ii = TASK_FILTER_UNMATCHED;
+ e_shell_content_add_filter_separator_after (shell_content, ii);
+
+ ii = TASK_FILTER_TASKS_WITH_ATTACHMENTS;
+ e_shell_content_add_filter_separator_after (shell_content, ii);
}