From 30f9259c6f20bb81d51ecd3f264ab472205da390 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Wed, 2 Jan 2008 08:25:11 +0000 Subject: Show the actual displayed folder name rather than the decoded/handled one 2008-01-02 Srinivasa Ragavan * mail-notification.c: (new_notify_status): Show the actual displayed folder name rather than the decoded/handled one from uri. svn path=/trunk/; revision=34745 --- plugins/mail-notification/mail-notification.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'plugins/mail-notification/mail-notification.c') diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c index e365e12132..6ad9b7f20b 100644 --- a/plugins/mail-notification/mail-notification.c +++ b/plugins/mail-notification/mail-notification.c @@ -350,13 +350,8 @@ new_notify_status (EMEventTargetFolder *t) } if (!status_count) { - char *folder; - status_count = t->new; - folder = em_utils_folder_name_from_uri (t->uri); - msg = g_strdup_printf (_("You have received %d new messages\nin %s."), status_count, folder); - - g_free (folder); + msg = g_strdup_printf (_("You have received %d new messages\nin %s."), status_count, t->name); } else { status_count += t->new; msg = g_strdup_printf (_("You have received %d new messages."), status_count); -- cgit v1.2.3