[tomboy] When closing search window, do not quit if Tomboy icon is visible (#584910)



commit 9e59d1cd7042ab9a47841eb796190ff403a2cc27
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date:   Mon Sep 7 16:33:32 2009 -0700

    When closing search window, do not quit if Tomboy icon is visible (#584910)
    
    This bug generally only occurred if for some reason Tomboy took more than
    2 seconds to appear in the notification area, which caused Tomboy to
    assume there was no notification area at all.  The fix is to check again
    when closing the search window.

 Tomboy/Tomboy.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/Tomboy/Tomboy.cs b/Tomboy/Tomboy.cs
index 783404c..8e158eb 100644
--- a/Tomboy/Tomboy.cs
+++ b/Tomboy/Tomboy.cs
@@ -377,6 +377,7 @@ namespace Tomboy
 		public static bool TrayIconShowing
 		{
 			get {
+				tray_icon_showing = tray_icon.IsEmbedded && tray_icon.Visible;
 				return tray_icon_showing;
 			}
 		}



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