Don't write the default filetype to the config if it isn't set.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3447 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
39a6eb455e
commit
0f0dbac7cd
@ -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>
|
||||
|
@ -455,7 +455,8 @@ static void configure_response_cb(GtkDialog *dialog, gint response, G_GNUC_UNUSE
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user