Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-08-31 15:20:43 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2008-08-31 15:20:43 (GMT)
commit83a7a11ba109b8aee5cdc047dec8b93967ccfc0e (patch)
treeadc1a8b56abf1f8bffc85a8faeb4e90e4ac2c71a /libdocument
parent216f093dc323646d127a4b66af1179e6c1011f47 (diff)
EggSMClient copied from libegg
2008-08-31 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * cut-n-paste/Makefile.am: * cut-n-paste/smclient/Makefile.am: * cut-n-paste/smclient/eggdesktopfile.[ch]: * cut-n-paste/smclient/eggsmclient-private.h: * cut-n-paste/smclient/eggsmclient-xsmp.c: * cut-n-paste/smclient/eggsmclient.[ch]: EggSMClient copied from libegg * libdocument/ev-file-helpers.c: (ev_dot_dir): * shell/Makefile.am: * shell/ev-application.[ch]: (ev_application_load_session), (smclient_save_state_cb), (smclient_quit_cb), (ev_application_init_session), (ev_application_shutdown), (ev_application_init): * shell/main.c: (main): Use EggSMClient instead of gnome-client and remove libgnome and libgnomeui dependencies. svn path=/trunk/; revision=3130
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-file-helpers.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libdocument/ev-file-helpers.c b/libdocument/ev-file-helpers.c
index 20c7bc4..80254b3 100644
--- a/libdocument/ev-file-helpers.c
+++ b/libdocument/ev-file-helpers.c
@@ -62,15 +62,10 @@ ev_dot_dir (void)
if (dot_dir == NULL) {
gboolean exists;
-#if WITH_GNOME
- dot_dir = g_build_filename (gnome_user_dir_get (),
- "evince",
- NULL);
-#else
- dot_dir = g_build_filename (g_get_user_config_dir (),
+ dot_dir = g_build_filename (g_get_home_dir (),
+ ".gnome2",
"evince",
NULL);
-#endif
exists = ensure_dir_exists (dot_dir);
if (!exists)