aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
authorMatthew Loper <mloper@src.gnome.org>2000-04-07 00:45:54 +0800
committerMatthew Loper <mloper@src.gnome.org>2000-04-07 00:45:54 +0800
commiteb9e77424615f640c32913696d9e8b0c7a0c3249 (patch)
treeaad8ffd5ed64976721a25b780ef2091557995271 /shell/main.c
parentdd9e79deb96759ea6f36c0749085518cc62d61b7 (diff)
downloadgsoc2013-evolution-eb9e77424615f640c32913696d9e8b0c7a0c3249.tar
gsoc2013-evolution-eb9e77424615f640c32913696d9e8b0c7a0c3249.tar.gz
gsoc2013-evolution-eb9e77424615f640c32913696d9e8b0c7a0c3249.tar.bz2
gsoc2013-evolution-eb9e77424615f640c32913696d9e8b0c7a0c3249.tar.lz
gsoc2013-evolution-eb9e77424615f640c32913696d9e8b0c7a0c3249.tar.xz
gsoc2013-evolution-eb9e77424615f640c32913696d9e8b0c7a0c3249.tar.zst
gsoc2013-evolution-eb9e77424615f640c32913696d9e8b0c7a0c3249.zip
+ * shell/main.c (evolution_boot): Make sure our data directory is
+ available with e_setup_base_dir (). + + * e-setup.c (e_setup_base_dir): Get/set Evolution's base directory + via gnome-config. svn path=/trunk/; revision=2309
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index 1c93579d85..71060acf38 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -11,6 +11,7 @@
#include <bonobo.h>
#include <e-util/e-gui-utils.h>
#include <e-util/e-cursors.h>
+#include <e-util/e-setup.h> /* for e_setup_base_dir */
#include <glade/glade.h>
#include <glade/glade-xml.h>
#include "e-shell.h"
@@ -68,6 +69,10 @@ evolution_boot (void)
{
EShellView *e_shell_view;
+ /* FIXME: this is rude */
+ if (!e_setup_base_dir ())
+ exit (0);
+
eshell = e_shell_new ();
e_shell_view = E_SHELL_VIEW (
e_shell_view_new (eshell,