tomboy r1853 - in trunk: . Tomboy
- From: sschweiz svn gnome org
- To: svn-commits-list gnome org
- Subject: tomboy r1853 - in trunk: . Tomboy
- Date: Fri, 15 Feb 2008 22:23:31 +0000 (GMT)
Author: sschweiz
Date: Fri Feb 15 22:23:30 2008
New Revision: 1853
URL: http://svn.gnome.org/viewvc/tomboy?rev=1853&view=rev
Log:
* Tomboy/Watchers.cs: Fixed Gtk-WARNING message 'Unknown tag
gtkspell-misspelled' by correctly connecting/disconnecting the
TagApplied-event in the NoteSpellChecker addin. Fixes bug #507249.
Modified:
trunk/ChangeLog
trunk/Tomboy/Watchers.cs
Modified: trunk/Tomboy/Watchers.cs
==============================================================================
--- trunk/Tomboy/Watchers.cs (original)
+++ trunk/Tomboy/Watchers.cs Fri Feb 15 22:23:30 2008
@@ -272,7 +272,6 @@
public override void OnNoteOpened ()
{
- Buffer.TagApplied += TagApplied;
Preferences.SettingChanged += OnEnableSpellcheckChanged;
if ((bool) Preferences.Get (Preferences.ENABLE_SPELLCHECKING)) {
@@ -297,10 +296,14 @@
null,
IntPtr.Zero);
}
+
+ Buffer.TagApplied += TagApplied;
}
void Detach ()
{
+ Buffer.TagApplied -= TagApplied;
+
if (obj_ptr != IntPtr.Zero) {
gtkspell_detach (obj_ptr);
obj_ptr = IntPtr.Zero;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]