Revision: 865 http://svn.sourceforge.net/geany/?rev=865&view=rev Author: eht16 Date: 2006-10-03 10:54:02 -0700 (Tue, 03 Oct 2006)
Log Message: ----------- Fixed bug which caused not saving session files when quitting Geany(introduced with r862).
Modified Paths: -------------- trunk/src/callbacks.c
Modified: trunk/src/callbacks.c =================================================================== --- trunk/src/callbacks.c 2006-10-03 13:45:30 UTC (rev 864) +++ trunk/src/callbacks.c 2006-10-03 17:54:02 UTC (rev 865) @@ -191,21 +191,21 @@ { if (app->pref_main_confirm_exit) { - // there is the chance that the user cancel the exit process while closing open - // files, so save the configuration(i.e. the list of open files) first - configuration_save(); if (dialogs_show_question_full(GTK_STOCK_QUIT, GTK_STOCK_CANCEL, NULL, _("Do you really want to quit?")) && on_close_all1_activate(NULL, NULL)) { + configuration_save(); destroyapp(NULL, gdata); } else app->quitting = FALSE; } else { + // there is the chance that the user cancel the exit process while closing open + // files, so save the configuration(i.e. the list of open files) first + configuration_save(); if (on_close_all1_activate(NULL, NULL)) { - configuration_save(); destroyapp(NULL, gdata); } else app->quitting = FALSE;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.