[blam] Revert "Only notify is there number of unread feeds is different"
- From: Carlos Martín Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blam] Revert "Only notify is there number of unread feeds is different"
- Date: Sun, 12 Sep 2010 21:16:19 +0000 (UTC)
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]