diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-07-28 01:26:13 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-07-28 01:26:13 +0800 |
commit | b4c93f77e655cfd0a2a740502d7b67bc60df4523 (patch) | |
tree | 52102ff28062c32127b058b3ae79cb88a523120d /modules/addressbook | |
parent | ad465a7c1fbea59767741ae5e56a94b5f5f7c6a1 (diff) | |
download | gsoc2013-evolution-b4c93f77e655cfd0a2a740502d7b67bc60df4523.tar.gz gsoc2013-evolution-b4c93f77e655cfd0a2a740502d7b67bc60df4523.tar.zst gsoc2013-evolution-b4c93f77e655cfd0a2a740502d7b67bc60df4523.zip |
Kill CalSearchBar.
Move calendar search logic to ECalShellView.
Diffstat (limited to 'modules/addressbook')
-rw-r--r-- | modules/addressbook/e-book-shell-view-private.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/addressbook/e-book-shell-view-private.c b/modules/addressbook/e-book-shell-view-private.c index f930e6d478..6770800dbd 100644 --- a/modules/addressbook/e-book-shell-view-private.c +++ b/modules/addressbook/e-book-shell-view-private.c @@ -522,7 +522,7 @@ e_book_shell_view_execute_search (EBookShellView *book_shell_view) EShellView *shell_view; EShellWindow *shell_window; EShellContent *shell_content; - GtkAction *action; + GtkRadioAction *action; GString *string; EAddressbookView *view; EAddressbookModel *model; @@ -541,8 +541,8 @@ e_book_shell_view_execute_search (EBookShellView *book_shell_view) text = e_shell_content_get_search_text (shell_content); shell_window = e_shell_view_get_shell_window (shell_view); - action = ACTION (CONTACT_SEARCH_ANY_FIELD_CONTAINS); - value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (action)); + action = GTK_RADIO_ACTION (ACTION (CONTACT_SEARCH_ANY_FIELD_CONTAINS)); + value = gtk_radio_action_get_current_value (action); if (text == NULL || *text == '\0') { text = ""; |