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-sidebar.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell/e-sidebar.h') diff --git a/shell/e-sidebar.h b/shell/e-sidebar.h index d77a7c91b7..e224698346 100644 --- a/shell/e-sidebar.h +++ b/shell/e-sidebar.h @@ -60,5 +60,7 @@ void e_sidebar_add_button (ESidebar *sidebar, GdkPixbuf *icon, int id); +void e_sidebar_select_button (ESidebar *sidebar, + int id); #endif /* _E_SIDEBAR_H_ */ -- cgit