diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-06 01:26:43 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-06 04:40:50 +0800 |
commit | df1dc37704daf3b1f20d1632b1cef1ea0a2181ad (patch) | |
tree | 18f00ac12457a5e1f9a5cf2bb2b9db482a150d96 /shell | |
parent | 7bb795b299758e6a81536b81c19693f353106105 (diff) | |
download | gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar.gz gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar.bz2 gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar.lz gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar.xz gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.tar.zst gsoc2013-evolution-df1dc37704daf3b1f20d1632b1cef1ea0a2181ad.zip |
EShellView can load the GalViewCollection itself now.
EShellView no longer needs help from subclasses other than getting
the needed GalView subclasses registered.
A nice side-effect of this is EShellView subclasses can now use the
G_DEFINE_DYNAMIC_TYPE macro.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-view.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index b4ae29b6a7..253bae2e3f 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -174,11 +174,10 @@ shell_view_init_view_collection (EShellViewClass *class) gal_view_collection_set_storage_directories ( class->view_collection, system_dir, local_dir); + gal_view_collection_load (class->view_collection); + g_free (system_dir); g_free (local_dir); - - /* This is all we can do. It's up to the subclasses to - * add the appropriate factories to the view collection. */ } static void |