From e44f4e3c44d44afde20b5f42a66e8df2c75108ff Mon Sep 17 00:00:00 2001 From: pabs Date: Sun, 27 May 2007 23:38:58 +0000 Subject: [PATCH] Change the default user dir to ~/.synfig for Linux & Unix users git-svn-id: http://svn.voria.com/code@485 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/config/configure.ac | 2 +- synfig-studio/trunk/src/gtkmm/app.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/synfig-studio/trunk/config/configure.ac b/synfig-studio/trunk/config/configure.ac index 636f19b..f526c38 100755 --- a/synfig-studio/trunk/config/configure.ac +++ b/synfig-studio/trunk/config/configure.ac @@ -107,7 +107,7 @@ case "$host" in with_userdir="Library/Synfig" ;; *) - with_userdir="Synfig" + with_userdir=".synfig" ;; esac ]) diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp index 8dd4fe1..033e285 100644 --- a/synfig-studio/trunk/src/gtkmm/app.cpp +++ b/synfig-studio/trunk/src/gtkmm/app.cpp @@ -136,8 +136,10 @@ using namespace studio; #ifndef SYNFIG_USER_APP_DIR #ifdef __APPLE__ #define SYNFIG_USER_APP_DIR "Library/Synfig" -#else +#elif defined(_WIN32) #define SYNFIG_USER_APP_DIR "Synfig" +#else +#define SYNFIG_USER_APP_DIR ".synfig" #endif #endif -- 2.7.4