From 5d07b9739f9c601b3f627b7a586fc02946c81a75 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 12 Nov 2003 20:22:12 +0000 Subject: Call e_sidebar_select_button() instead of switch_view(). * e-shell-window.c (e_shell_window_switch_to_component): Call e_sidebar_select_button() instead of switch_view(). * e-sidebar.c (update_buttons): New helper function. (e_sidebar_select_button): New. svn path=/trunk/; revision=23299 --- shell/e-shell-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/e-shell-window.c') diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index 158ef3b485..586f7e6419 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -478,7 +478,7 @@ e_shell_window_switch_to_component (EShellWindow *window, const char *component_ return; } - switch_view (window, view); + e_sidebar_select_button (E_SIDEBAR (priv->sidebar), view->button_id); } -- cgit v1.2.3