aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/em-folder-tree.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e3408f4374..d733c884d0 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2004-03-29 Jeffrey Stedfast <fejj@ximian.com>
+ * em-folder-tree.c (emft_create_folder__free): Free the
+ folder-info.
+
* em-folder-browser.c (emfb_activate): Instead of comparing
sstate[0] to '1', compare it against '0' like all the other code
does.
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index f1f79bfd15..e17c2b5eed 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -2059,6 +2059,7 @@ emft_create_folder__free (struct _mail_msg *mm)
{
struct _EMCreateFolder *m = (struct _EMCreateFolder *) mm;
+ camel_store_free_folder_info (m->store, m->fi);
camel_object_unref (m->store);
g_free (m->full_name);
g_free (m->parent);
@@ -2218,8 +2219,6 @@ emft_popup_new_folder (GtkWidget *item, EMFolderTree *emft)
em_folder_selector_set_selected ((EMFolderSelector *) dialog, emft->priv->selected_uri);
g_signal_connect (dialog, "response", G_CALLBACK (emft_popup_new_folder_response), emft);
gtk_widget_show (dialog);
- /* FIXME: what is this crap, this should go in the folder selector */
- gtk_widget_grab_focus ((GtkWidget *) ((EMFolderSelector *)dialog)->name_entry);
}
static void