Permalink
Browse files

New e-mail wasn't detected properly when using evo 3.6

In evolution 3.5/3.6 the folder_name variable doesn't contain the
folder name but instead it contains the full uri: GNOME BZ #688429,
evolution commit 3449e5fc
  • Loading branch information...
1 parent 72ad191 commit c2b61813941f3aa11290a889868d3d630e76a037 @epienbroek committed Nov 21, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/mn-evolution-plugin.c
@@ -247,7 +247,11 @@ org_jylefort_mail_notification_folder_changed (EPlugin *plugin,
EMEventTargetFolder *folder)
{
if (evo_server)
-#if EDS_CHECK_VERSION(3,1,0)
+#if EDS_CHECK_VERSION(3,5,0)
+ /* In evolution 3.5/3.6 the folder_name variable doesn't contain the folder name but
+ * instead it contains the full uri: GNOME BZ #688429, evolution commit 3449e5fc */
+ mn_evolution_server_folder_changed(evo_server, folder->folder_name);
+#elif EDS_CHECK_VERSION(3,1,0)
mn_evolution_server_folder_changed(evo_server, e_mail_folder_uri_build(folder->store, folder->folder_name));
#else
mn_evolution_server_folder_changed(evo_server, folder->uri);

0 comments on commit c2b6181

Please sign in to comment.