From cf3b01017162cbba568ee4317eee2efe5f6fdc10 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 26 Aug 2008 20:22:32 +0000 Subject: Progress update: - Further refinements of the shell API. - Kill ESMenu and EUserCreatableItemsHandler. - Start ripping apart the addressbook component. svn path=/branches/kill-bonobo/; revision=36093 --- shell/e-shell-window-private.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'shell/e-shell-window-private.c') diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c index 5b4c1e40ba..1365238b60 100644 --- a/shell/e-shell-window-private.c +++ b/shell/e-shell-window-private.c @@ -29,6 +29,7 @@ shell_window_notify_current_view_cb (EShellWindow *shell_window) { GtkWidget *menu; GtkWidget *widget; + EShellView *shell_view; const gchar *path; /* Update the "File -> New" submenu. */ @@ -205,8 +206,8 @@ e_shell_window_private_init (EShellWindow *shell_window) gint height; loaded_views = g_hash_table_new_full ( - g_direct_hash, g_direct_equal, - (GDestroyNotify) NULL, + g_str_hash, g_str_equal, + (GDestroyNotify) g_free, (GDestroyNotify) g_object_unref); priv->manager = gtk_ui_manager_new (); @@ -216,8 +217,6 @@ e_shell_window_private_init (EShellWindow *shell_window) priv->shell_view_actions = gtk_action_group_new ("shell-view"); priv->loaded_views = loaded_views; - e_load_ui_definition (priv->manager, "evolution-shell.ui"); - e_shell_window_actions_init (shell_window); gtk_window_add_accel_group ( -- cgit v1.2.3