diff options
-rw-r--r-- | composer/ChangeLog | 8 | ||||
-rw-r--r-- | composer/e-msg-composer-attachment.c | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index eb15c6bf8c..0183e454cd 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -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 diff --git a/composer/e-msg-composer-attachment.c b/composer/e-msg-composer-attachment.c index 2be55b1f69..405f0f57d6 100644 --- a/composer/e-msg-composer-attachment.c +++ b/composer/e-msg-composer-attachment.c @@ -393,13 +393,15 @@ ok_cb (GtkWidget *widget, gpointer data) 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 @@ e_msg_composer_attachment_edit (EMsgComposerAttachment *attachment, GtkWidget *p 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" |