SF.net SVN: geany-plugins:[2063] trunk/geany-plugins/webhelper/src/ gwh-plugin.c

colombanw at users.sourceforge.net colombanw at xxxxx
Tue May 10 02:14:46 UTC 2011


Revision: 2063
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2063&view=rev
Author:   colombanw
Date:     2011-05-10 02:14:46 +0000 (Tue, 10 May 2011)

Log Message:
-----------
WebHelper: Create configuration directory even if parent doesn't exist

Don't fail to create configuration directory if more than the topmost
directory is missing, fixing configuration saving if WebHelper is the
first or only plugin used.

Modified Paths:
--------------
    trunk/geany-plugins/webhelper/src/gwh-plugin.c

Modified: trunk/geany-plugins/webhelper/src/gwh-plugin.c
===================================================================
--- trunk/geany-plugins/webhelper/src/gwh-plugin.c	2011-05-03 18:24:48 UTC (rev 2062)
+++ trunk/geany-plugins/webhelper/src/gwh-plugin.c	2011-05-10 02:14:46 UTC (rev 2063)
@@ -375,7 +375,7 @@
   
   path = get_config_filename ();
   dirname = g_path_get_dirname (path);
-  utils_mkdir (dirname, FALSE);
+  utils_mkdir (dirname, TRUE);
   g_free (dirname);
   if (! gwh_settings_save_to_file (G_settings, path, &err)) {
     g_warning ("Failed to save configuration: %s", err->message);


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



More information about the Plugins-Commits mailing list