← Back to team overview

ayatana-commits team mailing list archive

[Branch ~indicator-applet-developers/evolution-indicator/trunk] Rev 70: workaround for local Inbox as not tagged as an Inbox for evolution

 

------------------------------------------------------------
revno: 70
committer: Didier Roche <didier.roche@xxxxxxxxxxxxx>
branch nick: evolution-indicator
timestamp: Wed 2010-10-13 22:36:37 +0200
message:
  workaround for local Inbox as not tagged as an Inbox for evolution
modified:
  src/evolution-indicator.c


--
lp:evolution-indicator
https://code.launchpad.net/~indicator-applet-developers/evolution-indicator/trunk

Your team ayatana-commits is subscribed to branch lp:evolution-indicator.
To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/evolution-indicator/trunk/+edit-subscription
=== modified file 'src/evolution-indicator.c'
--- src/evolution-indicator.c	2010-10-13 19:32:23 +0000
+++ src/evolution-indicator.c	2010-10-13 20:36:37 +0000
@@ -225,7 +225,7 @@
   if (!t->new)
 		return;
 
-  if (only_inbox && !t->is_inbox)
+  if (only_inbox && !(t->is_inbox || (g_strrstr (t->uri, "local#Inbox") !=  NULL)))
   {
     g_debug ("EI: %s is not an inbox", t->uri);
     return;
@@ -610,7 +610,7 @@
                   pop_indicator = create_indicator ("pop:",
                                                   g_dgettext ("evolution-2.28",
                                                                 "Inbox"));
-                  g_debug ("EI: New Inbox inidicator");
+                  g_debug ("EI: New Inbox indicator");
                 }
               indicator = pop_indicator;
             }