aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-init.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-11 07:59:41 +0800
committerDan Winship <danw@src.gnome.org>2000-08-11 07:59:41 +0800
commit5778265e23c39c32412f7dac263c0447b4aefd82 (patch)
tree0fd88461794b5592a9fe5b084b0134bba2930977 /shell/e-init.c
parentca25daf7b1461631c6daa4282e4c06e1f5b9f159 (diff)
downloadgsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar
gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar.gz
gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar.bz2
gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar.lz
gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar.xz
gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.tar.zst
gsoc2013-evolution-5778265e23c39c32412f7dac263c0447b4aefd82.zip
add "in string evolution_homedir" to ShellComponent::set_owner's
* Evolution-ShellComponent.idl: add "in string evolution_homedir" to ShellComponent::set_owner's arguments. * e-shell.c (e_shell_get_local_directory): Expose local_directory. * e-component-registry.c (register_component): Pass the shell's "local_directory" to the component as its evolution_homedir. * evolution-shell-component.c (impl_ShellComponent_set_owner): Update to include evolution_homedir. (class_init): Update signal prototype. * evolution-shell-component-client.c (evolution_shell_component_client_set_owner): Update to include evolution_homedir. * e-init.c: Remove. This wasn't being used. svn path=/trunk/; revision=4710
Diffstat (limited to 'shell/e-init.c')
-rw-r--r--shell/e-init.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/shell/e-init.c b/shell/e-init.c
deleted file mode 100644
index 34ccdbcfc3..0000000000
--- a/shell/e-init.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * e-init.c: Initializes Evolution for first time users
- *
- */
-#include <config.h>
-#include <gnome.h>
-#include "e-init.h"
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include "e-util/e-gui-utils.h"
-
-char *evolution_base_dir;
-
-static void
-e_init_local (void)
-{
- evolution_base_dir = g_concat_dir_and_file (g_get_home_dir (), "Evolution");
-
- if (g_file_exists (evolution_base_dir))
- return;
-
- if (-1 == mkdir (evolution_base_dir, 0755)){
- e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, _("Evolution can not create its local folders"));
- exit (0);
- }
-}
-
-void
-e_init (void)
-{
- e_init_local ();
-}