[tasque] [tasque] Fix NRE on StatusIconTray.
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque] [tasque] Fix NRE on StatusIconTray.
- Date: Wed, 29 Aug 2012 19:49:33 +0000 (UTC)
commit 02e3d81cf80de0f535d063fefc4a822748c8c1f9
Author: Antonius Riha <antoniusriha gmail com>
Date: Wed Aug 29 21:49:13 2012 +0200
[tasque] Fix NRE on StatusIconTray.
src/StatusIconTray.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/StatusIconTray.cs b/src/StatusIconTray.cs
index b056b17..706ddb5 100644
--- a/src/StatusIconTray.cs
+++ b/src/StatusIconTray.cs
@@ -43,7 +43,8 @@ namespace Tasque
protected override void OnTooltipChanged ()
{
- tray.Tooltip = Tooltip;
+ if (tray != null)
+ tray.Tooltip = Tooltip;
}
StatusIcon tray;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]