[evolution/gnome-3-24] Wrong folder URI used for message notifications
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-24] Wrong folder URI used for message notifications
- Date: Mon, 10 Jul 2017 18:09:21 +0000 (UTC)
commit 1f5a62a2df5140d8e34dd37ec54aeac67fa33962
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]