SF.net SVN: geany:[3914] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Jul 4 09:22:25 UTC 2009


Revision: 3914
          http://geany.svn.sourceforge.net/geany/?rev=3914&view=rev
Author:   eht16
Date:     2009-07-04 09:22:24 +0000 (Sat, 04 Jul 2009)

Log Message:
-----------
Properly close the toolbar editor on delete-events.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-07-04 09:21:44 UTC (rev 3913)
+++ trunk/ChangeLog	2009-07-04 09:22:24 UTC (rev 3914)
@@ -16,6 +16,8 @@
    src/highlighting.c:
    Add second argument to the 'line_wrap_indent' styling setting to
    control the new Scintilla indentation mode for wrapped lines.
+ * src/toolbar.c:
+   Properly close the toolbar editor on delete-events.
 
 
 2009-06-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/toolbar.c
===================================================================
--- trunk/src/toolbar.c	2009-07-04 09:21:44 UTC (rev 3913)
+++ trunk/src/toolbar.c	2009-07-04 09:22:24 UTC (rev 3914)
@@ -958,7 +958,7 @@
 		utils_write_file(filename, markup);
 		g_free(markup);
 
-		if (response == GTK_RESPONSE_CLOSE)
+		if (response == GTK_RESPONSE_CLOSE || response == GTK_RESPONSE_DELETE_EVENT)
 			break;
 	}
 	gtk_widget_destroy(tbw->dialog);


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