[geany/geany] 6968a1: Make it so project properties form errors can be corrected (oops)

Matthew Brush git-noreply at xxxxx
Thu Jul 26 00:02:49 UTC 2012


Branch:      refs/heads/document-messages
Author:      Matthew Brush <matt at geany.org>
Committer:   Matthew Brush <matt at geany.org>
Date:        Sun, 08 Jan 2012 19:34:27
Commit:      6968a1a957f8c4d71ea9edc126e6af1ace996502
             https://github.com/geany/geany/commit/6968a1a957f8c4d71ea9edc126e6af1ace996502

Log Message:
-----------
Make it so project properties form errors can be corrected (oops)

Was broken during last commit.


Modified Paths:
--------------
    src/project.c

Modified: src/project.c
5 files changed, 4 insertions(+), 1 deletions(-)
===================================================================
@@ -550,7 +550,7 @@ static void show_project_properties(gboolean show_build)
 	else
 		gtk_notebook_set_current_page(GTK_NOTEBOOK(e->notebook), 0);
 
-	if (gtk_dialog_run(GTK_DIALOG(e->dialog)) == GTK_RESPONSE_OK)
+	while (gtk_dialog_run(GTK_DIALOG(e->dialog)) == GTK_RESPONSE_OK)
 	{
 		if (update_config(e, FALSE))
 		{
@@ -558,7 +558,10 @@ static void show_project_properties(gboolean show_build)
 			if (!write_config(TRUE))
 				SHOW_ERR(_("Project file could not be written"));
 			else
+			{
 				ui_set_statusbar(TRUE, _("Project \"%s\" saved."), app->project->name);
+				break;
+			}
 		}
 	}
 


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list