aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-init.c
blob: 34ccdbcfc38691a8fcecf95ceb5dae3981e8edfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * 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 ();
}
class='commitgraph'>* Add NO_ARCHpawel2015-08-211-0/+1 * x11-themes/gnome-icons: convert to USES=metaportpgollucci2015-08-122-7/+1 * Re-commit ofnetchild2015-08-101-2/+2 * * Add PORTSCOUT macros to only show stable gnome versions.kwm2015-08-081-0/+2 * Update to 1.6olivierd2015-08-083-9/+9 * The FreeBSD GNOME team proudly presents GNOME 3.16 for FreeBSD.kwm2015-08-0611-42/+87 * Part 1 of adding USE_GNOME=intltool to ports that require it.kwm2015-08-032-2/+2 * Update MATE DE to 1.10.0.kwm2015-07-2812-2984/+4521 * Unbreak INDEX, reverting r392921antoine2015-07-261-2/+2 * 64 bit linuxulator support (not activated by default):netchild2015-07-261-2/+2 * Fix packagingantoine2015-06-231-1/+1 * Convert to COPYTREE_SHAREbapt2015-06-231-3/+3 * Convert to COPYTREE_SHAREbapt2015-06-231-3/+3 * Simplify and convert to COPYTREE_SHAREbapt2015-06-231-6/+2 * - Update to 0.5.1amdmi32015-06-173-8/+9 * - Add LICENSEamdmi32015-06-111-2/+8 * Remove expired ports:rene2015-06-119-151/+0 * - Switch to USES=autoreconfamdmi32015-05-291-6/+2 * - Don't cat pkg-message from Makefilesamdmi32015-05-271-3/+0 * x11-themes/qtcurve: fix build on 8.x/9.xmakc2015-05-241-1/+1 * Reorganize install targetolivierd2015-05-211-11/+5 * x11-themes/qtcurve-*:makc2015-05-1924-64/+286 * - Update to 3.1olivierd2015-05-153-12/+50 * MASTER_SITES cleanup.mat2015-05-1431-58/+31 * Cleanup DIST* variables.mat2015-05-122-3/+2 * Upstream disappeared. Given the age and obscurity of this port, it's notphilip2015-05-111-0/+2 * Upstream disappeared. Given the age and obscurity of this port, it's notphilip2015-05-111-0/+2 * Update ports in the remaining categories to not use GH_COMMIT.mat2015-05-088-23/+11 * USES=xfce: Stop overriding MASTER_SITE_SUBDIR.bdrewery2015-04-291-2/+1 * - Fix build when NLS=off [1]pawel2015-04-261-3/+3 * Over to the enlightement teambapt2015-04-172-2/+2 * Back to the pool.gblach2015-04-172-2/+2 * - Add distfile mirroramdmi32015-04-161-1/+2 * ${ENV} does not exist, it is called ${SETENV}.mat2015-04-131-1/+1 * Mark as broken: no public distfilesbapt2015-03-312-0/+4 * Fix fetching of old_themes, new_themes are still brokenbapt2015-03-311-3/+2 * Update USE_GITHUB so it does not require GH_COMMIT.bdrewery2015-03-203-3/+3 * Update KDE SC to 4.14.3alonso2015-03-124-8/+8 * The FreeBSD Xfce team proudly presents Xfce 4.12.olivierd2015-03-064-13/+10 * - Add empty directory to plistamdmi32015-03-031-0/+1 * Remove Author from pkg-descrbapt2015-03-033-3/+0 * x11-themes/kde-icons-nuovext2: update 2.2.1 -> 2.2.2robak2015-02-264-8/+12 * Update to 1.5.3olivierd2015-02-232-4/+4 * x11-themes/thewidgetfactory: #include <string.h>marino2015-02-201-0/+10 * - Remove deprecated USE_KDE4=kdehiermakc2015-02-208-8/+8 * Fix check-plist / poudriere -t, by removing empty directories in the stagedir.kwm2015-02-181-1/+1 * Update to 2.5.1olivierd2015-02-062-5/+4 * Update to 1.5.1olivierd2015-02-062-4/+4 * Cleanup plistsbapt2015-02-063-544/+0 * - Drop @dirrm* from and add empty directories to pkg-plistsamdmi32015-01-3070-2524/+54 * - Simplify installationamdmi32015-01-301-10/+5 * - Add some mirrors to fix fetchamdmi32015-01-291-1/+3 * - Add some mirrors to fix fetchamdmi32015-01-291-1/+3 * Remove a now-redundant @dirrm entry from the plist.rakuco2015-01-251-1/+0 * Switch some dependencies from a directory name or a file generated by pkg-ins...antoine2015-01-241-1/+1 * Fix BROKEN (fetch issue).vanilla2015-01-221-3/+1 * Fix BROKEN (fetch issue), and set submitter as MAINTAINER.vanilla2015-01-221-3/+2 * Mark BROKEN: Unfetchableantoine2015-01-172-0/+4 * - Remove Author linesunpoet2015-01-131-3/+0 * Upgrade to 3.1, remove pkg-plist, it's auto generated.vanilla2015-01-123-3945/+6 * Upgrade to 3.1.vanilla2015-01-122-6/+6 * Move MASTER_SITES from CRITICAL to LOCAL/ehauptehaupt2015-01-061-1/+1 * Move MASTER_SITES from CRITICAL to LOCAL/ehauptehaupt2015-01-061-1/+1 * Update to 2.5olivierd2014-12-314-17/+53 * Update cinnamon to 2.4, this should fix [1] and [2].kwm2014-12-313-9/+436 * Replace gnomehack with pathfixbapt2014-12-251-2/+2 * Get rid of gnomehierbapt2014-12-237-15/+7 * - Fix build on arm6amdmi32014-12-221-1/+10 * cleanup plistbapt2014-12-217-9/+0 * Take maintainershipgblach2014-12-111-1/+1 * - Reset maintainership of my portsgahr2014-12-111-1/+1 * Remove useless usage of @cwdbapt2014-12-091-5/+2 * Sort entries alphabetically across all categories to avoid extra repo churn.danfe2014-12-081-1/+1 * Update GNOME to 3.14.2.kwm2014-12-035-11/+19 * Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. Thetijl2014-11-308-8/+8 * Ensure we don't pick up gtk-encode-symbolic-svg from gtk30.kwm2014-11-281-0/+4 * Update to 1.4olivierd2014-11-235-39/+17 * - Update to 6.0.3olivierd2014-11-234-7/+5 * - Update to 2.2.1danilo2014-11-233-7/+10 * Update to 1.4.1.rakuco2014-11-203-3/+5 * The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2.kwm2014-11-1920-85/+6551 * Reset miwi's maintainership per his demandbapt2014-11-181-1/+1 * Cleanup plistantoine2014-11-141-4/+0 * Upgrade CentOS to 6.6xmj2014-11-111-0/+1 * Update to 1.4.6.rakuco2014-10-302-3/+3 * - Update to 4.0olivierd2014-10-304-76/+11 * Update to version 0.6.1pawel2014-10-252-3/+3 * - Allow staging as a regular userantoine2014-10-202-32/+3 * KDE/FreeBSD team presents KDE SC 4.14.2 and KDE Workspace 4.11.13!makc2014-10-1915-363/+20 * - Simplify MASTER_SITESamdmi32014-10-142-51/+1 * - Drop @dirrm* from plistamdmi32014-10-141-13/+0 * Don't add dirs to dynamicaly generated plistpawel2014-10-141-4/+2 * Remove @dirrm's from my ports plistspawel2014-10-142-59/+0 * Remove @dirrm, @dirrmtryehaupt2014-10-081-2/+0 * - Set CPPFLAGS and LIBS in a number of ports so configure can find libintl.htijl2014-09-251-1/+3 * - Drop @dirrm* from plistamdmi32014-09-241-228/+0 * - Drop @dirrm* from plistamdmi32014-09-242-4/+1 * - Drop @dirrm* from plistamdmi32014-09-238-198/+0 * - Drop @dirrm* from plistamdmi32014-09-231-12/+0 * - Drop @dirrm* from plistamdmi32014-09-231-10/+0 * - Drop @dirrm* from plistamdmi32014-09-231-10/+0 * - Drop @dirrm* from plistamdmi32014-09-222-43/+1 * - Drop @dirrm* from plistamdmi32014-09-222-57/+1 * Update CentOS base to 6.5, add userland portsxmj2014-09-225-3/+37 * Update to version 0.5.6pawel2014-09-203-3/+4 * Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-1113-13/+13 * Welcome Mate Desktop 1.8bapt2014-09-1012-1637/+509 * Fix plistrea2014-09-041-1/+1 * Remove gtk-bluecurve-theme missed in previous commitbapt2014-09-023-60/+0 * Remove non staged ports without pending PR from *bapt2014-09-0235-2012/+0 * - Drop .la files, no dependees require themamdmi32014-08-262-3/+2 * Reset maintainership of non staged portsbapt2014-08-251-6/+2 * Add an option helper for PLIST_SUBantoine2014-08-221-4/+4 * Upgrade OpenEXR and ilmbase to 2.2.0.mandree2014-08-1613-9/+13 * Remove indefinite articles and trailing periods from COMMENT, plusolgeni2014-08-086-6/+6 * Moka theme for the Plank dock.olivierd2014-08-035-0/+36 * Convert some more USE_BZIP2 to USES=tar:bzip2adamw2014-07-3020-20/+20 * Remove the final usages of USE_XZ from the tree, and replace them withadamw2014-07-302-2/+2 * Convert a bunch of USE_XZ to USES=tar:xz.adamw2014-07-304-8/+4 * Convert a bunch of USE_BZIP2 to USES=tar:bzip2adamw2014-07-305-10/+5 * Rename x11-*/ patch-xy patches to reflect the files they modify.adamw2014-07-302-4/+3 * Reset maintainership for ports not staged with no pending PRbapt2014-07-251-1/+1 * Remove expired port:rene2014-07-145-46/+0 * x11-themes/fvwm-themes: support stagedirswills2014-07-083-12/+22 * - Update to version 0.5.5pawel2014-07-053-15/+14 * Update to version 20140629pawel2014-07-043-3/+5 * First batch at resetting maintainership on ports that have not been staged andbapt2014-07-031-1/+0 * Unbreakantoine2014-07-024-8/+8 * - USES=libtool tar:xztijl2014-07-022-12/+3 * Convert to USES=libtooltijl2014-07-023-20/+4 * - Add USES=libtooltijl2014-07-022-3/+3 * - Add USES=libtooltijl2014-07-022-18/+5 * USES=libtool tar:bzip2tijl2014-07-022-7/+2 * - USES=libtool tar:bzip2tijl2014-07-022-7/+4 * - USES=libtool tar:bzip2tijl2014-07-022-41/+12 * - Remove dependencies implied by USE_GNOME=gtk20tijl2014-07-022-8/+5 * - Add USES=libtooltijl2014-07-022-10/+5 * Add USES=libtooltijl2014-07-022-4/+2 * Stagify.vanilla2014-07-021-3/+2 * 1: stagify.vanilla2014-07-011-4/+3 * Stagify.vanilla2014-07-011-3/+2 * Stagify.vanilla2014-07-011-3/+2 * Stagify.vanilla2014-07-011-3/+2 * 1: Stagify.vanilla2014-07-012-20/+11 * 1: Stagify.vanilla2014-07-012-3/+1 * 1: Stagify.vanilla2014-07-011-2/+1 * Stagify.vanilla2014-07-012-7/+5 * Stagify.vanilla2014-07-0114-23/+7 * - Support stagingvg2014-06-306-7/+2 * - Support stagingjhale2014-06-245-16/+16 * - Support stagingjhale2014-06-243-8/+4 * x11-themes/icons-tango-extras: USES+= pkgconfigmarino2014-06-212-3/+3 * - Mark DEPRECATED; this project merged with the Oxygen windecojhale2014-06-141-2/+6 * Rephrase pkg-descr, fix WWW line.pawel2014-06-041-2/+2 * - Update to version 20131119pawel2014-06-043-4504/+4673 * - Reset maintainershipmiwi2014-06-031-1/+1 * Stagify and cleanup my remaining ports underdanfe2014-06-0314-70/+47 * Mark a few unfetchable ports as BROKENantoine2014-06-015-0/+8 * - Switch to USES=libtool, drop .la filesamdmi32014-05-312-5/+4 * x11-themes/clearlooks-themes-extras: Fix staging orphansmarino2014-05-301-5/+3 * x11-themes/clearlooks-themes-extras: Stage support+marino2014-05-301-7/+3 * Multiple ports: reset maintainerseadler2014-05-261-1/+1 * Add staging support.olgeni2014-05-232-3/+2 * Add staging support.olgeni2014-05-231-2/+1 * Add staging support.olgeni2014-05-231-2/+1 * Add staging support.olgeni2014-05-231-2/+1 * - Update to 2.2.3olivierd2014-05-204-16/+5 * Convert my ports to USES=tarmakc2014-05-125-10/+5 * Update to 3.0bapt2014-05-123-6758/+922 * KDE/FreeBSD team presents KDE SC 4.12.5 and KDE Workspace 4.11.9!makc2014-05-114-8/+8 * Reset more maintainers:antoine2014-05-111-1/+1 * - Convert USE_BZIP2 to USESamdmi32014-05-082-4/+2 * Update to 1.4.5.rakuco2014-05-062-3/+3 * Convert all :U to :tu and :L to :tlbapt2014-05-052-3/+3 * Revert change to pkg-plist for x11-themes/kde4-style-oxygen-transparent.dbn2014-05-031-4/+4 * Support stagebapt2014-04-261-5/+3 * No need to try to strip when there is no binariesbapt2014-04-261-1/+0 * Support stagebapt2014-04-261-6/+5 * Support stagebapt2014-04-252-28/+7 * Update my ports to be compliant with new USES framework and fix other issues.dbn2014-04-251-2/+1 * When linking a library libA with a library libB using libtool, if libB.latijl2014-04-231-1/+2 * Support stagebapt2014-04-222-9/+5 * Support stagebapt2014-04-221-2/+2 * These ports are no longer used or cared for.nemysis2014-04-222-4/+4 * Update x11-themes/kde4-style-oxygen-transparent to 80fc757 (10-Mar-2014).dbn2014-04-183-10/+8 * The FreeBSD x11@ and graphics team proudly presentszeising2014-04-171-1/+1 * KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8!makc2014-04-039-17/+13