aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-03 21:18:08 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-03 21:18:08 +0800
commitb5c3ca3079407391e099eea277f37ad45e5866d7 (patch)
tree6653316612fddf765586c32b6ed368e551ce02dd /shell/e-shell.c
parentf3680ee9f251c0225373909e5c7934c4e10e43e4 (diff)
downloadgsoc2013-evolution-b5c3ca3079407391e099eea277f37ad45e5866d7.tar
gsoc2013-evolution-b5c3ca3079407391e099eea277f37ad45e5866d7.tar.gz
gsoc2013-evolution-b5c3ca3079407391e099eea277f37ad45e5866d7.tar.bz2
gsoc2013-evolution-b5c3ca3079407391e099eea277f37ad45e5866d7.tar.lz
gsoc2013-evolution-b5c3ca3079407391e099eea277f37ad45e5866d7.tar.xz
gsoc2013-evolution-b5c3ca3079407391e099eea277f37ad45e5866d7.tar.zst
gsoc2013-evolution-b5c3ca3079407391e099eea277f37ad45e5866d7.zip
Make "My Evolution" a normal storage instead of being the toplevel
node that contains everything else. svn path=/trunk/; revision=11610
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index a27c3cb42b..94db128307 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -52,6 +52,7 @@
#include "e-shortcuts.h"
#include "e-storage-set.h"
#include "e-splash.h"
+#include "e-summary-storage.h"
#include "e-uri-schema-registry.h"
#include "evolution-storage-set-view-factory.h"
@@ -74,6 +75,7 @@ struct _EShellPrivate {
EStorageSet *storage_set;
ELocalStorage *local_storage;
+ ESummaryStorage *summary_storage;
EShortcuts *shortcuts;
EFolderTypeRegistry *folder_type_registry;
@@ -452,6 +454,9 @@ setup_local_storage (EShell *shell)
e_storage_set_add_storage (priv->storage_set, local_storage);
priv->local_storage = E_LOCAL_STORAGE (local_storage);
+ priv->summary_storage = E_SUMMARY_STORAGE (e_summary_storage_new ());
+ e_storage_set_add_storage (priv->storage_set, priv->summary_storage);
+
return TRUE;
}
@@ -646,6 +651,9 @@ destroy (GtkObject *object)
if (priv->local_storage != NULL)
gtk_object_unref (GTK_OBJECT (priv->local_storage));
+ if (priv->summary_storage != NULL)
+ gtk_object_unref (GTK_OBJECT (priv->summary_storage));
+
if (priv->shortcuts != NULL)
gtk_object_unref (GTK_OBJECT (priv->shortcuts));
@@ -749,6 +757,7 @@ init (EShell *shell)
priv->local_directory = NULL;
priv->storage_set = NULL;
priv->local_storage = NULL;
+ priv->summary_storage = NULL;
priv->shortcuts = NULL;
priv->component_registry = NULL;
priv->folder_type_registry = NULL;