[blam] Revert "Only notify is there number of unread feeds is different"



commit f4297caf30250d4a4a5c9773d1225575081a08d3
Author: Carlos Martín Nieto <carlos cmartin tk>
Date:   Thu Sep 9 22:09:58 2010 +0100

    Revert "Only notify is there number of unread feeds is different"
    
    This reverts commit 9d0bc6693641ff6c9a15881a0a09b08508f13c53.
    
    In order for this to work correctly, more changes are needed, so
    wait for them to come.

 src/UnreadNotification.cs |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/UnreadNotification.cs b/src/UnreadNotification.cs
index bd5ee4e..84b6fb8 100644
--- a/src/UnreadNotification.cs
+++ b/src/UnreadNotification.cs
@@ -8,7 +8,6 @@ namespace Imendio.Blam
     {
 
         static Notification note = new Notification();
-        static int old = 0;
 
         public UnreadNotification()
         {
@@ -17,12 +16,6 @@ namespace Imendio.Blam
 
         public static void NotifyUnreadPosts(int unread, int new_items)
         {
-            /* Don't notify if nothing has changed */
-            if(unread != old){
-                return;
-            }
-
-            old = unread;
             /* Same as for the tray icon tooltip */
             /* Total number of unread items */
             string str = string.Format (Catalog.GetPluralString ("{0} unread item", "{0} unread items", unread),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]