[evolution-patches] fix for bug #41238



This is that "the attachment properties dialog crashes when I click a
'inline' checkbox or click to focus the description entry box" crash.

Jeff

-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.526
diff -u -r1.526 ChangeLog
--- ChangeLog	11 Apr 2003 20:48:46 -0000	1.526
+++ ChangeLog	14 Apr 2003 20:03:35 -0000
@@ -1,3 +1,11 @@
+2003-04-14  Jeffrey Stedfast  <fejj ximian com>
+
+	* e-msg-composer-attachment.c (file_name_focus_out_cb): Return
+	FALSE so the signal gets propogated further up the chain. Fixes
+	bug #41238.
+	(e_msg_composer_attachment_edit): The focus-out-event signal name
+	changed (although the old name still works...for now?).
+
 2003-04-11  Jeffrey Stedfast  <fejj ximian com>
 
 	* e-msg-composer-attachment.glade: Updated to comply with the
Index: e-msg-composer-attachment.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer-attachment.c,v
retrieving revision 1.44
diff -u -r1.44 e-msg-composer-attachment.c
--- e-msg-composer-attachment.c	6 Feb 2003 15:50:31 -0000	1.44
+++ e-msg-composer-attachment.c	14 Apr 2003 20:03:36 -0000
@@ -393,13 +393,15 @@
 	close_cb (widget, data);
 }
 
-static void
+static gboolean
 file_name_focus_out_cb (GtkWidget *widget, GdkEventFocus *event, gpointer data)
 {
 	DialogData *dialog_data;
 	
 	dialog_data = (DialogData *) data;
 	update_mime_type (dialog_data);
+	
+	return FALSE;
 }
 
 
@@ -466,7 +468,7 @@
 	connect_widget (editor_gui, "ok_button", "clicked", (GCallback)ok_cb, dialog_data);
 	connect_widget (editor_gui, "close_button", "clicked", (GCallback)close_cb, dialog_data);
 	
-	connect_widget (editor_gui, "file_name_entry", "focus_out_event",
+	connect_widget (editor_gui, "file_name_entry", "focus-out-event",
 			(GCallback)file_name_focus_out_cb, dialog_data);
 	
 #warning "signal connect while alive"	


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]