diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-09-13 12:02:09 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-09-13 12:02:09 +0800 |
commit | 7ee6ef65f1019389c172478a80b8f0aa73a1453e (patch) | |
tree | e50bcb96372f1fbbe5b53fc64b8200932ef7659d /shell/e-shell-window-actions.c | |
parent | df6a8262a141e0bec824149e7f65568d2187c5c2 (diff) | |
download | gsoc2013-evolution-7ee6ef65f1019389c172478a80b8f0aa73a1453e.tar.gz gsoc2013-evolution-7ee6ef65f1019389c172478a80b8f0aa73a1453e.tar.zst gsoc2013-evolution-7ee6ef65f1019389c172478a80b8f0aa73a1453e.zip |
Allow EShellContent, EShellSidebar, and EShellTaskbar to be subclassed,
and begin doing so for Calendars, Memos and Tasks. Makes the code cleaner.
svn path=/branches/kill-bonobo/; revision=36317
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r-- | shell/e-shell-window-actions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index 090bee4025..917c6fce3b 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -871,7 +871,7 @@ action_search_clear_cb (GtkAction *action, view_name = e_shell_window_get_current_view (shell_window); shell_view = e_shell_window_get_view (shell_window, view_name); - shell_content = e_shell_view_get_content (shell_view); + shell_content = e_shell_view_get_shell_content (shell_view); e_shell_content_set_search_text (shell_content, ""); } @@ -888,7 +888,7 @@ action_search_edit_cb (GtkAction *action, view_name = e_shell_window_get_current_view (shell_window); shell_view = e_shell_window_get_view (shell_window, view_name); - shell_content = e_shell_view_get_content (shell_view); + shell_content = e_shell_view_get_shell_content (shell_view); context = e_shell_content_get_search_context (shell_content); g_return_if_fail (context != NULL); |