aboutsummaryrefslogtreecommitdiffstats
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
parentd00f11c114b7f146741580861f8240ff4a3ab320 (diff)
downloadgsoc2013-evolution-30f9259c6f20bb81d51ecd3f264ab472205da390.tar
gsoc2013-evolution-30f9259c6f20bb81d51ecd3f264ab472205da390.tar.gz
gsoc2013-evolution-30f9259c6f20bb81d51ecd3f264ab472205da390.tar.bz2
gsoc2013-evolution-30f9259c6f20bb81d51ecd3f264ab472205da390.tar.lz
gsoc2013-evolution-30f9259c6f20bb81d51ecd3f264ab472205da390.tar.xz
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
-rw-r--r--plugins/mail-notification/ChangeLog5
-rw-r--r--plugins/mail-notification/mail-notification.c7
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/mail-notification/ChangeLog b/plugins/mail-notification/ChangeLog
index 565475232d..6769229333 100644
--- a/plugins/mail-notification/ChangeLog
+++ b/plugins/mail-notification/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2007-12-17 Milan Crha <mcrha@redhat.com>
** Fix for bug #504030
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);