[pygtk] GNOME applets in Python and Debian?
Magnus Therning
magnus at therning.org
Mon Jul 3 22:40:16 WST 2006
I'm on a Debian Sid system and I'm having problems with the applet
tutorial:
In [2]: import pygtk
In [3]: pygtk.require('2.0')
In [4]: import gtk
In [5]: import gnome
In [7]: import gnomeapplet
---------------------------------------------------------------------------
exceptions.ImportError Traceback (most
recent call last)
/usr/lib/python-support/<ipython console>
ImportError: No module named gnomeapplet
In [8]: import gnome.applet
---------------------------------------------------------------------------
exceptions.ImportError Traceback (most
recent call last)
/usr/lib/python-support/<ipython console>
ImportError: No module named applet
(The reason for [7] is that the Newton applet tries to import it that
way.)
Am I just missing some package or have things changed radically since
the tutorial was written?
/M
[Tutorial]: http://www.pygtk.org/articles/applets_arturogf/
[Newton]: http://newton.sourceforge.net/
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus at therning.org Jabber: magnus.therning at gmail.com
http://therning.org/magnus
Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.
Finagle's Sixth Law:
Don't believe in miracles -- rely on them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20060703/69383f9f/attachment.pgp
More information about the pygtk
mailing list