[evolution] Wrong folder URI used for message notifications



commit 5d57da76cce43983fa32eb6fc7ce9d81a9901c89
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jul 10 20:07:06 2017 +0200

    Wrong folder URI used for message notifications
    
    It makes the window to activate the Mail view, but it fails to switch
    to the correct folder. The problem was that folder_name was actually
    the folder_uri.

 src/plugins/mail-notification/mail-notification.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/mail-notification/mail-notification.c 
b/src/plugins/mail-notification/mail-notification.c
index 3582d81..2203789 100644
--- a/src/plugins/mail-notification/mail-notification.c
+++ b/src/plugins/mail-notification/mail-notification.c
@@ -475,8 +475,7 @@ new_notify_status (EMEventTargetFolder *t)
                        gchar *folder_uri;
 
                        /* NotifyAction takes ownership. */
-                       folder_uri = e_mail_folder_uri_build (
-                               t->store, t->folder_name);
+                       folder_uri = g_strdup (t->folder_name);
 
                        label = g_strdup_printf (
                                /* Translators: The '%s' is a mail


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]