[tomboy-list] Tomboy not respecting changes to XML metadata via dbus API?
sanfordarmstrong at gmail.com
Mon May 10 22:20:08 PDT 2010
On Mon, May 10, 2010 at 9:24 PM, Jens Knutson <jens.knutson at gmail.com> wrote:
> I'm trying to modify the size of notes via the dbus API, grabbing them
> with GetNoteCompleteXml(), changing <width> and/or <length>, and then
> pushing the contents back out via SetNoteCompleteXml(). However, Tomboy
> doesn't seem to respect the new size tag(s), and reverts them back to
> what they were prior to SetNoteCompleteXml().
Tomboy currently ignores changes to the window size in SetNoteCompleteXml.
See the LoadForeignNoteXml method in Note.cs to see what tags are
supported. Window size is intentionally ignored because this method
is used when loading notes from other sources, and the window size may
not make sense on a different system.
Please file a bug for this. We should either make this work for
SetNoteCompleteXml (by making LoadForeignNoteXml have the option of
respecting *all* tags), or document that it is not supposed to work
and add new dbus methods for modifying the window size.
Sorry for any inconvenience,
More information about the Tomboy-list