[tasque] [Gtk.Tasque] Fix tooltip update propagation GtkTray.cs



commit e4a85f76c5efa83034c576d8b36d43e48c8e109f
Author: Antonius Riha <antoniusriha gmail com>
Date:   Fri Sep 21 03:23:15 2012 +0200

    [Gtk.Tasque] Fix tooltip update propagation GtkTray.cs
    
    Under some circumstances a tooltip change is not properly updated
    int GtkTray.cs

 src/Gtk.Tasque/GtkTray.cs |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/Gtk.Tasque/GtkTray.cs b/src/Gtk.Tasque/GtkTray.cs
index 68625c0..3899a05 100644
--- a/src/Gtk.Tasque/GtkTray.cs
+++ b/src/Gtk.Tasque/GtkTray.cs
@@ -104,10 +104,8 @@ namespace Tasque
 			if (sb.Length == 0) {
 				// Translators: This is the status icon's tooltip. When no tasks are overdue, due today, or due tomorrow, it displays this fun message
 				Tooltip = Catalog.GetString ("Tasque Rocks");
-				return;
-			}
-
-			Tooltip = sb.ToString ().TrimEnd ('\n');
+			} else
+				Tooltip = sb.ToString ().TrimEnd ('\n');
 			
 			if (Tooltip != oldTooltip)
 				OnTooltipChanged ();



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