SF.net SVN: geany:[4755] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Fri Mar 12 14:54:19 UTC 2010
Revision: 4755
http://geany.svn.sourceforge.net/geany/?rev=4755&view=rev
Author: ntrel
Date: 2010-03-12 14:54:18 +0000 (Fri, 12 Mar 2010)
Log Message:
-----------
Fix not destroying 'Make Custom Target' input dialog after first
use (oops).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/dialogs.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-03-12 13:06:34 UTC (rev 4754)
+++ trunk/ChangeLog 2010-03-12 14:54:18 UTC (rev 4755)
@@ -11,6 +11,9 @@
Split dialogs_show_input() into 2 functions: one simple, one for
a persistent dialog.
Fix possible double-destroy of input dialog when closed by user.
+ * src/dialogs.c:
+ Fix not destroying 'Make Custom Target' input dialog after first
+ use (oops).
2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/dialogs.c
===================================================================
--- trunk/src/dialogs.c 2010-03-12 13:06:34 UTC (rev 4754)
+++ trunk/src/dialogs.c 2010-03-12 14:54:18 UTC (rev 4755)
@@ -903,6 +903,8 @@
if (persistent)
{
+ /* override default handler */
+ g_signal_connect(dialog, "delete-event", G_CALLBACK(gtk_widget_hide_on_delete), NULL);
gtk_widget_show_all(dialog);
return 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