diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-12-04 19:42:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-12-04 19:42:49 +0800 |
commit | dc0d0ee010319425b19d8d8d493f0bc489d5fd07 (patch) | |
tree | 19d4f0e1b3f04bcc09d96ecca5fbe27bc5c98e5f /addressbook/gui/component/e-book-shell-view-actions.c | |
parent | 6375ba9a6cf327e665d98c5820992ab7fb80a6d0 (diff) | |
download | gsoc2013-evolution-dc0d0ee010319425b19d8d8d493f0bc489d5fd07.tar gsoc2013-evolution-dc0d0ee010319425b19d8d8d493f0bc489d5fd07.tar.gz gsoc2013-evolution-dc0d0ee010319425b19d8d8d493f0bc489d5fd07.tar.bz2 gsoc2013-evolution-dc0d0ee010319425b19d8d8d493f0bc489d5fd07.tar.lz gsoc2013-evolution-dc0d0ee010319425b19d8d8d493f0bc489d5fd07.tar.xz gsoc2013-evolution-dc0d0ee010319425b19d8d8d493f0bc489d5fd07.tar.zst gsoc2013-evolution-dc0d0ee010319425b19d8d8d493f0bc489d5fd07.zip |
Implement bug #263268 - Contact categories need to be able to be filtered by
"not categorized". Also fix a crasher.
svn path=/branches/kill-bonobo/; revision=36831
Diffstat (limited to 'addressbook/gui/component/e-book-shell-view-actions.c')
-rw-r--r-- | addressbook/gui/component/e-book-shell-view-actions.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/addressbook/gui/component/e-book-shell-view-actions.c b/addressbook/gui/component/e-book-shell-view-actions.c index 646715d88a..457f15cf1b 100644 --- a/addressbook/gui/component/e-book-shell-view-actions.c +++ b/addressbook/gui/component/e-book-shell-view-actions.c @@ -753,7 +753,14 @@ static GtkRadioActionEntry contact_filter_entries[] = { N_("Any Category"), NULL, NULL, - CONTACT_FILTER_ANY_CATEGORY } + CONTACT_FILTER_ANY_CATEGORY }, + + { "contact-filter-unmatched", + NULL, + N_("Unmatched"), + NULL, + NULL, + CONTACT_FILTER_UNMATCHED } }; static GtkRadioActionEntry contact_search_entries[] = { @@ -898,4 +905,7 @@ e_book_shell_view_update_search_filter (EBookShellView *book_shell_view) /* Use any action in the group; doesn't matter which. */ e_shell_content_set_filter_action (shell_content, radio_action); + + ii = CONTACT_FILTER_UNMATCHED; + e_shell_content_add_filter_separator_after (shell_content, ii); } |