From eb9e77424615f640c32913696d9e8b0c7a0c3249 Mon Sep 17 00:00:00 2001 From: Matthew Loper Date: Thu, 6 Apr 2000 16:45:54 +0000 Subject: + * 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 --- shell/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shell/main.c') 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 #include #include +#include /* for e_setup_base_dir */ #include #include #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, -- cgit v1.2.3