Yeah, this is clearly a bug in the patch:

++                              var menuItems = manager.Notes
++                                      .Where (n => !n.IsSpecial)
++                                      .OrderByDescending (n => n.ChangeDate)
++                                      .Take (10)
++                                      .Select (n => new NoteMenuItem (n, 
n.IsPinned))
++                                      .ToArray ();

There is no check at all for whether the note is a template.  You guys
need to add something like:

Tag template_tag = TagManager.GetOrCreateSystemTag
(TagManager.TemplateNoteSystemTag);

and change the Where clause to:

++                                      .Where (n => !n.IsSpecial &&
!n.ContainsTag(template_tag))

-- 
Tomboy shows templates as notes
https://bugs.launchpad.net/bugs/664963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to