SF.net SVN: geany:[3557] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Feb 6 14:15:19 UTC 2009


Revision: 3557
          http://geany.svn.sourceforge.net/geany/?rev=3557&view=rev
Author:   eht16
Date:     2009-02-06 14:15:19 +0000 (Fri, 06 Feb 2009)

Log Message:
-----------
Don't check for old configuration directory location on Windows.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/main.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-02-06 01:06:09 UTC (rev 3556)
+++ trunk/ChangeLog	2009-02-06 14:15:19 UTC (rev 3557)
@@ -1,3 +1,9 @@
+2009-02-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/main.c:
+   Don't check for old configuration directory location on Windows.
+
+
 2009-02-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * src/geanymenubuttonaction.c, src/geanyentryaction.c,

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2009-02-06 01:06:09 UTC (rev 3556)
+++ trunk/src/main.c	2009-02-06 14:15:19 UTC (rev 3557)
@@ -592,6 +592,7 @@
 
 	if (! g_file_test(app->configdir, G_FILE_TEST_EXISTS))
 	{
+#ifndef G_OS_WIN32
 		/* if we are *not* using an alternate config directory, we check whether the old one
 		 * in ~/.geany still exists and try to move it */
 		if (alternate_config == NULL)
@@ -626,6 +627,7 @@
 			}
 			g_free(old_dir);
 		}
+#endif
 		geany_debug("creating config directory %s", app->configdir);
 		saved_errno = utils_mkdir(app->configdir, FALSE);
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list