aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-11-13 04:22:12 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-11-13 04:22:12 +0800
commit5d07b9739f9c601b3f627b7a586fc02946c81a75 (patch)
tree3734d48b08c1fc40d962605b216a354348687470 /shell/e-shell-window.c
parentf0427b10105cd3046923d4362d73150cd5c7208f (diff)
downloadgsoc2013-evolution-5d07b9739f9c601b3f627b7a586fc02946c81a75.tar.gz
gsoc2013-evolution-5d07b9739f9c601b3f627b7a586fc02946c81a75.tar.zst
gsoc2013-evolution-5d07b9739f9c601b3f627b7a586fc02946c81a75.zip
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
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c2
1 files changed, 1 insertions, 1 deletions
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);
}