From 035744f29bdea64cfb38f2e507020d5914cd666e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 19 Aug 2008 02:55:45 +0000 Subject: Committing the day's progress. Realized the "New" menu construction algorithm needs to live independently of shell view instances since we lazy load the shell views but have to display all possible "New" items immediately. Prototype the mechanisms for managing the various shell views and keeping track of which one is current. Various other tightening up and rethinking of APIs. svn path=/branches/kill-bonobo/; revision=36022 --- shell/e-shell-window-private.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shell/e-shell-window-private.h') diff --git a/shell/e-shell-window-private.h b/shell/e-shell-window-private.h index e8287fc23d..bc5fbc7645 100644 --- a/shell/e-shell-window-private.h +++ b/shell/e-shell-window-private.h @@ -61,7 +61,9 @@ struct _EShellWindowPrivate { /*** Shell Views ***/ - GPtrArray *shell_views; + GHashTable *loaded_views; + const gchar *current_view; + const gchar *default_view; /*** Widgetry ***/ @@ -89,6 +91,7 @@ void e_shell_window_private_finalize (EShellWindow *window); /* Private Utilities */ void e_shell_window_actions_init (EShellWindow *window); +GtkWidget * e_shell_window_create_new_menu (EShellWindow *window); void e_shell_window_create_shell_view_actions (EShellWindow *window); -- cgit v1.2.3