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/calendar/e-memo-shell-view-private.c | |
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/calendar/e-memo-shell-view-private.c')
-rw-r--r-- | modules/calendar/e-memo-shell-view-private.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/calendar/e-memo-shell-view-private.c b/modules/calendar/e-memo-shell-view-private.c index 69d6c0afe2..4953a388d3 100644 --- a/modules/calendar/e-memo-shell-view-private.c +++ b/modules/calendar/e-memo-shell-view-private.c @@ -303,7 +303,7 @@ e_memo_shell_view_execute_search (EMemoShellView *memo_shell_view) EShellView *shell_view; EShellWindow *shell_window; EShellContent *shell_content; - GtkAction *action; + GtkRadioAction *action; GString *string; ECalComponentPreview *memo_preview; EMemoTable *memo_table; @@ -320,8 +320,8 @@ e_memo_shell_view_execute_search (EMemoShellView *memo_shell_view) text = e_shell_content_get_search_text (shell_content); shell_window = e_shell_view_get_shell_window (shell_view); - action = ACTION (MEMO_SEARCH_ANY_FIELD_CONTAINS); - value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (action)); + action = GTK_RADIO_ACTION (ACTION (MEMO_SEARCH_ANY_FIELD_CONTAINS)); + value = gtk_radio_action_get_current_value (action); if (text == NULL || *text == '\0') { text = ""; |