From d7f89b244f8df95dc3f5ca6fbfc39f99db9a2659 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 20 Mar 2003 17:55:12 +0000 Subject: Make the 5th argument to gtk_message_dialog_new() "%s" and move the 2003-03-20 Jeffrey Stedfast * mail-session.c (do_user_message): Make the 5th argument to gtk_message_dialog_new() "%s" and move the m->prompt to arg 6 so that we are safe if the prompt string contains any %'s. Also connect to the response signal for the user_msg dialog and set the callback to gtk_widget_destroy so that the user can actually close the dialog. We also need to g_object_weak_ref() the dialog so that we can set the global message_dialog pointer back to NULL when it gets destroyed. Fixes bug #40043. svn path=/trunk/; revision=20435 --- mail/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'mail/ChangeLog') diff --git a/mail/ChangeLog b/mail/ChangeLog index 068f157c94..d4bb8a9198 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,14 @@ +2003-03-20 Jeffrey Stedfast + + * mail-session.c (do_user_message): Make the 5th argument to + gtk_message_dialog_new() "%s" and move the m->prompt to arg 6 so + that we are safe if the prompt string contains any %'s. Also + connect to the response signal for the user_msg dialog and set the + callback to gtk_widget_destroy so that the user can actually close + the dialog. We also need to g_object_weak_ref() the dialog so that + we can set the global message_dialog pointer back to NULL when it + gets destroyed. Fixes bug #40043. + 2003-03-20 Dan Winship * mail-ops.c (build_from): Remove this since there's a function in -- cgit v1.2.3