[tomboy] Don't show Start Here window on a first start if installed as a panel applet. Fixes BNC #299810.
- From: Sanford Armstrong <sharm src gnome org>
- To: svn-commits-list gnome org
- Subject: [tomboy] Don't show Start Here window on a first start if installed as a panel applet. Fixes BNC #299810.
- Date: Mon, 25 May 2009 10:02:08 -0400 (EDT)
commit 1ce38e24a89e417e48fe0ccf5946ed8fa794fc1b
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Mon May 25 07:00:09 2009 -0700
Don't show Start Here window on a first start if installed as a panel applet. Fixes BNC #299810.
---
Tomboy/NoteManager.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Tomboy/NoteManager.cs b/Tomboy/NoteManager.cs
index fa56966..c4c6503 100644
--- a/Tomboy/NoteManager.cs
+++ b/Tomboy/NoteManager.cs
@@ -175,7 +175,8 @@ public NoteManager (string directory) :
links_note_content);
links_note.QueueSave (ChangeType.ContentChanged);
- start_note.Window.Show ();
+ if (!Tomboy.IsPanelApplet)
+ start_note.Window.Show ();
} catch (Exception e) {
Logger.Warn ("Error creating start notes: {0}\n{1}",
e.Message, e.StackTrace);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]