Skip to content

Commit

Permalink
New e-mail wasn't detected properly when using evo 3.6
Browse files Browse the repository at this point in the history
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
epienbroek committed Nov 21, 2012
1 parent 72ad191 commit c2b6181
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/mn-evolution-plugin.c
Expand Up @@ -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);
Expand Down

0 comments on commit c2b6181

Please sign in to comment.