aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-notification/mail-notification.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-01-02 16:25:11 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-01-02 16:25:11 +0800
commit30f9259c6f20bb81d51ecd3f264ab472205da390 (patch)
tree894b6ee8637e698ec2707d0acb6eaaf8f0bf1b1f /plugins/mail-notification/mail-notification.c
parentd00f11c114b7f146741580861f8240ff4a3ab320 (diff)
downloadgsoc2013-evolution-30f9259c6f20bb81d51ecd3f264ab472205da390.tar.gz
gsoc2013-evolution-30f9259c6f20bb81d51ecd3f264ab472205da390.tar.zst
gsoc2013-evolution-30f9259c6f20bb81d51ecd3f264ab472205da390.zip
Show the actual displayed folder name rather than the decoded/handled one
2008-01-02 Srinivasa Ragavan <sragavan@novell.com> * 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
Diffstat (limited to 'plugins/mail-notification/mail-notification.c')
-rw-r--r--plugins/mail-notification/mail-notification.c7
1 files changed, 1 insertions, 6 deletions
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);