← Back to team overview

screenlets-dev team mailing list archive

[Bug 597252] Re: Tomboy screenlet uses wrong (old) notes directory for Tomboy 1.0.0

 

I'm not well-versed in patch etiquette, so please forgive me. I'm sure
that applying a patch as root to a file which is sure to be replaced
when screenlets 0.1.3 comes out is not the "accepted" way of doing
things.

I'll work on getting a patched screenlet "package" up on gnome-look.org
(called TomboyOneDotOhScreenlet) for people who don't want to get their
hands dirty with symlinks or modifying the code (not that it's *that*
hard). Installing a "personal" version of the screenlet with the patch
already applied is, admittedly, probably the easiest way for the average
user to fix the problem, for now.

I have not made an attempt to test the patched screenlet with a version
of Tomboy prior to 1.0.0 (I have an old Intrepid/8.10 machine around
here somewhere), but it *will* fix the note directory issue for a
Karmic/9.10 system.

If the output of 'tomboy --version' from older versions of Tomboy
differs significantly from:

Tomboy: A simple, easy to use desktop note-taking application.
Copyright (C) 2004-2006 Alex Graveley <alex@xxxxxxxxxxxxxxxxxxx>

Version 1.0.0

then the regexp (r'.*?Version\s+([0-9.]+)', re.DOTALL) won't match, and
the screenlet will probably bomb out with "AttributeError: 'NoneType'
object has no attribute 'group'" or something like that. Before I'm
through, I'd like to add some error checking for that, and also check to
make sure 'tomboy' exists in the path to be executed in the first place.

** Patch added: "Run 'patch -p0 <patchfile' in /usr/share/screenlets/Tomboy (as root)"
   http://launchpadlibrarian.net/50770933/TomboyScreenlet-fixed-for-1.0.0.patch

-- 
Tomboy screenlet uses wrong (old) notes directory for Tomboy 1.0.0
https://bugs.launchpad.net/bugs/597252
You received this bug notification because you are a member of
Screenlets Dev Team, which is subscribed to Screenlets.



References