SF.net SVN: geany:[3447] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Sun Jan 4 18:31:23 UTC 2009
Revision: 3447
http://geany.svn.sourceforge.net/geany/?rev=3447&view=rev
Author: eht16
Date: 2009-01-04 18:31:22 +0000 (Sun, 04 Jan 2009)
Log Message:
-----------
Don't write the default filetype to the config if it isn't set.
Modified Paths:
--------------
trunk/ChangeLog
trunk/plugins/saveactions.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-01-04 18:30:42 UTC (rev 3446)
+++ trunk/ChangeLog 2009-01-04 18:31:22 UTC (rev 3447)
@@ -10,6 +10,8 @@
Add *.desktop as extension for the Conf filetype.
* *.*:
Update copyright information
+ * plugins/saveactions.c:
+ Don't write the default filetype to the config if it isn't set.
2009-01-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/plugins/saveactions.c
===================================================================
--- trunk/plugins/saveactions.c 2009-01-04 18:30:42 UTC (rev 3446)
+++ trunk/plugins/saveactions.c 2009-01-04 18:31:22 UTC (rev 3447)
@@ -455,7 +455,8 @@
g_key_file_set_boolean(config, "autosave", "save_all", autosave_save_all);
g_key_file_set_integer(config, "autosave", "interval", autosave_interval);
- g_key_file_set_string(config, "instantsave", "default_ft", instantsave_default_ft);
+ if (instantsave_default_ft != NULL)
+ g_key_file_set_string(config, "instantsave", "default_ft", instantsave_default_ft);
g_key_file_set_integer(config, "backupcopy", "dir_levels", backupcopy_dir_levels);
g_key_file_set_string(config, "backupcopy", "time_fmt", text_time);
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