SF.net SVN: geany:[3810] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu May 21 19:19:12 UTC 2009


Revision: 3810
          http://geany.svn.sourceforge.net/geany/?rev=3810&view=rev
Author:   eht16
Date:     2009-05-21 19:19:12 +0000 (Thu, 21 May 2009)

Log Message:
-----------
Fix broken 'Cancel' button in the Save As dialog.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/dialogs.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-05-20 15:38:04 UTC (rev 3809)
+++ trunk/ChangeLog	2009-05-21 19:19:12 UTC (rev 3810)
@@ -1,3 +1,9 @@
+2009-05-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/dialogs.c:
+   Fix broken 'Cancel' button in the Save As dialog.
+
+
 2009-05-20  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * src/editor.c:

Modified: trunk/src/dialogs.c
===================================================================
--- trunk/src/dialogs.c	2009-05-20 15:38:04 UTC (rev 3809)
+++ trunk/src/dialogs.c	2009-05-21 19:19:12 UTC (rev 3810)
@@ -397,7 +397,11 @@
 
 			g_free(utf8_filename);
 			g_free(new_filename);
+			break;
 		}
+		case GTK_RESPONSE_CANCEL:
+			success = TRUE;
+			break;
 	}
 	if (success)
 		gtk_widget_hide(ui_widgets.save_filesel);


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