Revision: 5538 http://geany.svn.sourceforge.net/geany/?rev=5538&view=rev Author: eht16 Date: 2011-02-06 16:36:04 +0000 (Sun, 06 Feb 2011)
Log Message: ----------- Add a warning if writing the project file fails on close.
Modified Paths: -------------- trunk/ChangeLog trunk/src/project.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2011-02-06 16:32:49 UTC (rev 5537) +++ trunk/ChangeLog 2011-02-06 16:36:04 UTC (rev 5538) @@ -8,6 +8,7 @@ * src/project.c: Improve error checking when trying to write project files (patch by Colomban Wendling, thanks). + Add a warning if writing the project file fails on close.
2011-01-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/project.c =================================================================== --- trunk/src/project.c 2011-02-06 16:32:49 UTC (rev 5537) +++ trunk/src/project.c 2011-02-06 16:36:04 UTC (rev 5538) @@ -347,7 +347,8 @@ ui_set_statusbar(TRUE, _("Project "%s" closed."), app->project->name);
/* use write_config() to save project session files */ - write_config(FALSE); + if (!write_config(FALSE)) + g_warning("Project file "%s" could not be written", app->project->file_name);
/* remove project filetypes build entries */ if (app->project->build_filetypes_list != NULL)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.