From 81d3fd68b3d62326b88d59fa99f61655ab14cd21 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 27 Apr 2004 08:17:40 +0000 Subject: ** See bug #57659. 2004-04-27 Not Zed ** See bug #57659. * mail-ops.c (fix_unmatched_info): removed, done in camel now. svn path=/trunk/; revision=25625 --- mail/ChangeLog | 4 ++++ mail/em-folder-tree.c | 2 +- mail/mail-ops.c | 16 ---------------- 3 files changed, 5 insertions(+), 17 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index ac324c8686..edc5b11800 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,9 @@ 2004-04-27 Not Zed + ** See bug #57659. + + * mail-ops.c (fix_unmatched_info): removed, done in camel now. + ** See bug #57511. * mail-config.glade: gave the whole smime frame (vbox) a name so diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 8c64197842..7365f6f920 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -1052,7 +1052,7 @@ tree_drag_data_received(GtkWidget *widget, GdkDragContext *context, int x, int y gtk_drag_finish (context, FALSE, FALSE, GDK_CURRENT_TIME); return; } - + full_name = path[0] == '/' ? path + 1 : path; m = mail_msg_new (&emft_drop_async_op, NULL, sizeof (struct _DragDataReceivedAsync)); diff --git a/mail/mail-ops.c b/mail/mail-ops.c index cf0c6fb62e..d38cf4ff66 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -996,20 +996,6 @@ get_folderinfo_desc (struct _mail_msg *mm, int done) return ret; } -static void -fix_unmatched_info(CamelFolderInfo *fi) -{ - for (; fi; fi = fi->next) { - if (!strcmp(fi->full_name, CAMEL_UNMATCHED_NAME)) { - g_free(fi->name); - fi->name = g_strdup(_("Unmatched")); - g_free(fi->path); - fi->path = g_strdup_printf("/%s", fi->name); - break; - } - } -} - static void get_folderinfo_get (struct _mail_msg *mm) { @@ -1020,8 +1006,6 @@ get_folderinfo_get (struct _mail_msg *mm) flags |= CAMEL_STORE_FOLDER_INFO_SUBSCRIBED; m->info = camel_store_get_folder_info (m->store, NULL, flags, &mm->ex); - if (m->info && CAMEL_IS_VEE_STORE(m->store)) - fix_unmatched_info(m->info); } static void -- cgit