[tomboy] Fix crash when showing Search from panel applet (bug #595098)
- From: Sanford Armstrong <sharm src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tomboy] Fix crash when showing Search from panel applet (bug #595098)
- Date: Mon, 14 Sep 2009 17:35:49 +0000 (UTC)
commit b3f88ce550b640ff496ae6a7a60b7bad2c3c35b9
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Mon Sep 14 10:15:52 2009 -0700
Fix crash when showing Search from panel applet (bug #595098)
Tomboy/Tomboy.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Tomboy/Tomboy.cs b/Tomboy/Tomboy.cs
index 92767bc..8e2a2c5 100644
--- a/Tomboy/Tomboy.cs
+++ b/Tomboy/Tomboy.cs
@@ -419,7 +419,8 @@ namespace Tomboy
public static bool TrayIconShowing
{
get {
- tray_icon_showing = tray_icon.IsEmbedded && tray_icon.Visible;
+ tray_icon_showing = !is_panel_applet && tray_icon != null &&
+ tray_icon.IsEmbedded && tray_icon.Visible;
return tray_icon_showing;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]