Change the default user dir to ~/.synfig for Linux & Unix users
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 27 May 2007 23:38:58 +0000 (23:38 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 27 May 2007 23:38:58 +0000 (23:38 +0000)
git-svn-id: http://svn.voria.com/code@485 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/config/configure.ac
synfig-studio/trunk/src/gtkmm/app.cpp

index 636f19b..f526c38 100755 (executable)
@@ -107,7 +107,7 @@ case "$host" in
                with_userdir="Library/Synfig"
        ;;
        *)
-               with_userdir="Synfig"
+               with_userdir=".synfig"
        ;;
 esac
 ])
index 8dd4fe1..033e285 100644 (file)
@@ -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