aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-folder-selector.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 81e88df395..2bfea6fdc7 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,12 @@
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
+ * 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 <fejj@ximian.com>
+
* em-folder-view.c (emfv_set_folder): Sync the folder before
replacing it with the new folder.
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 *