tomboy r1870 - in trunk: . Tomboy
- From: btimothy svn gnome org
 
- To: svn-commits-list gnome org
 
- Subject: tomboy r1870 - in trunk: . Tomboy
 
- Date: Fri, 22 Feb 2008 17:13:57 +0000 (GMT)
 
Author: btimothy
Date: Fri Feb 22 17:13:57 2008
New Revision: 1870
URL: http://svn.gnome.org/viewvc/tomboy?rev=1870&view=rev
Log:
* Tomboy/Watchers.cs: Add a dummy NoteSpellChecker class in the #else
  clause of #if FIXED_GTKSPELL.  This prevents a LONG startup time
  and a warning message about this class not being found when this
  condition is false.
Modified:
   trunk/ChangeLog
   trunk/Tomboy/Watchers.cs
Modified: trunk/Tomboy/Watchers.cs
==============================================================================
--- trunk/Tomboy/Watchers.cs	(original)
+++ trunk/Tomboy/Watchers.cs	Fri Feb 22 17:13:57 2008
@@ -346,6 +346,23 @@
 			}
 		}
 	}
+	#else
+	// Add in a "dummy" NoteSpellChecker class so that Mono.Addins doesn't
+	// complain at startup.  NoteSpellChecker is specified in Tomboy.addin.xml.
+	public class NoteSpellChecker : NoteAddin
+	{
+		public override void Initialize ()
+		{
+		}
+		
+		public override void Shutdown ()
+		{
+		}
+		
+		public override void OnNoteOpened ()
+		{
+		}
+	}
 	#endif
 
 	public class NoteUrlWatcher : NoteAddin
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]