From 83a7a11ba109b8aee5cdc047dec8b93967ccfc0e Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 31 Aug 2008 15:20:43 +0000 Subject: EggSMClient copied from libegg 2008-08-31 Carlos Garcia Campos * 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 --- (limited to 'libdocument') 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) -- cgit v0.9.1