From 1b74224c04782be274167b02711f7692e3b97904 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 3 Dec 2003 21:47:33 +0000 Subject: Emit the OK response, not the CREATE_NEW response. Also, 2003-12-03 Jeffrey Stedfast * em-folder-selector.c (emfs_create_name_activate): Emit the OK response, not the CREATE_NEW response. Also, g_signal_emit_by_name() does not take a GQuark detail argument, so don't pass one. Fixes bug #51661. svn path=/trunk/; revision=23623 --- mail/ChangeLog | 7 +++++++ mail/em-folder-selector.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 81e88df395..2bfea6fdc7 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2003-12-03 Jeffrey Stedfast + + * em-folder-selector.c (emfs_create_name_activate): Emit the OK + response, not the CREATE_NEW response. Also, + g_signal_emit_by_name() does not take a GQuark detail argument, so + don't pass one. Fixes bug #51661. + 2003-12-03 Jeffrey Stedfast * em-folder-view.c (emfv_set_folder): Sync the folder before diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c index c502ac9a8d..543925b1a1 100644 --- a/mail/em-folder-selector.c +++ b/mail/em-folder-selector.c @@ -229,7 +229,7 @@ em_folder_selector_new (EMFolderTree *emft, guint32 flags, const char *title, co static void emfs_create_name_activate (GtkEntry *entry, EMFolderSelector *emfs) { - g_signal_emit_by_name (emfs, "response", 0, EM_FOLDER_SELECTOR_RESPONSE_NEW); + g_signal_emit_by_name (emfs, "response", GTK_RESPONSE_OK); } GtkWidget * -- cgit