← Back to team overview

ayatana-commits team mailing list archive

lp:~indicator-applet-developers/evolution-indicator/fix-message-count into lp:evolution-indicator

 

Neil J. Patel has proposed merging lp:~indicator-applet-developers/evolution-indicator/fix-message-count into lp:evolution-indicator.

Requested reviews:
    Indicator Applet Developers (indicator-applet-developers)

Just resets the message_count when evolution is shown or the user requests it to be shown, so the message count shown by the notification doesn't keep incrementing during a session.
-- 
https://code.launchpad.net/~indicator-applet-developers/evolution-indicator/fix-message-count/+merge/11860
Your team ayatana-commits is subscribed to branch lp:evolution-indicator.
=== modified file 'src/evolution-indicator.c'
--- src/evolution-indicator.c	2009-09-10 16:44:38 +0000
+++ src/evolution-indicator.c	2009-09-16 09:52:29 +0000
@@ -347,6 +347,7 @@
                indicate_indicator_get_property (indicator, "name"));
 
     }
+  message_count = 0;
 
   g_static_mutex_unlock (&mlock);
 }
@@ -974,6 +975,7 @@
                indicate_indicator_get_property (indicator, "name"));
 
     }
+    message_count = 0;
   }
   else
   {


Follow ups