aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-12-04 05:47:33 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-12-04 05:47:33 +0800
commit1b74224c04782be274167b02711f7692e3b97904 (patch)
tree56c4159e1073d02f52e7b93f9a2e96dacf9af25d
parent2831ada5a5554a4a3c1920d73b43343d618f0e02 (diff)
downloadgsoc2013-evolution-1b74224c04782be274167b02711f7692e3b97904.tar
gsoc2013-evolution-1b74224c04782be274167b02711f7692e3b97904.tar.gz
gsoc2013-evolution-1b74224c04782be274167b02711f7692e3b97904.tar.bz2
gsoc2013-evolution-1b74224c04782be274167b02711f7692e3b97904.tar.lz
gsoc2013-evolution-1b74224c04782be274167b02711f7692e3b97904.tar.xz
gsoc2013-evolution-1b74224c04782be274167b02711f7692e3b97904.tar.zst
gsoc2013-evolution-1b74224c04782be274167b02711f7692e3b97904.zip
Emit the OK response, not the CREATE_NEW response. Also,
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. svn path=/trunk/; revision=23623
-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 *