Jppy: 0.0.33 is ready
Nicholas Piper
nick-jppy at nickpiper.co.uk
Mon Oct 23 21:19:34 BST 2006
Norbert,
On Mon, 23 Oct 2006, Norbert Preining wrote:
> On Son, 22 Okt 2006, Nicholas Piper wrote:
> > 0.0.33 fixes the trouble that Norbert had properly with regards to
> > finding resources in /usr/share (both with the standalone and jpilot
> > embedded GUI.)
> What is the current code to be put into
> ~/.jpilot/python/jpilot_user.py
> The code I had before did stop working which 0.33. Currently I have:
[...]
> def plugin_gui(vbox,hbox):
> guipath = "/usr/share/jppy/gui/"
> import sys
> sys.path.insert(0,guipath)
> import jppygui
> jppygui.jppy(hbox,control_mainloop=0,glade_path=guipath)
[..]
This part did change.
> Maybe this should be documented somewhere, what is necessary to be
> added.
Yes, you're right. I think I have solved this by installing a default
version called jpilot_site.py which will get updated each release if
required. The jpilot plugin will use that, UNLESS
~/.jpilot/python/jpilot_user.py exists. If it exists, I expect the
user knows what they are doing and can compare with the new
jpilot_site.py if required.
Does that sound good? It's in r149.
Nick
--
Nick Piper, Developer, LogicaCMG http://www.nickpiper.co.uk/
GPG Encrypted mail welcome! 1024D/3ED8B27F
Choose life. Be Vegan :-) Please reduce needless cruelty + suffering !
More information about the Jppy
mailing list