aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer-attachment.c')
-rw-r--r--composer/e-msg-composer-attachment.c6
1 files changed, 4 insertions, 2 deletions
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"