PDA

View Full Version : egg.trayicon


Choad
October 28th, 2006, 08:33 PM
richard@richard-laptop:~/Desktop/deluge$ python deluge.py
Traceback (most recent call last):
File "deluge.py", line 35, in ?
import egg.trayicon
ImportError: No module named egg.trayicon


im running xubuntu edgy... what module do i need to get? i hope its not a gnome one...

AgenT
October 28th, 2006, 08:39 PM
egg.trayicon is a gnome module :D

You can get the source from gnome.org's ftp site. It is also available in binary form in the package python-gnome2-extras. Just use apt-get as it is in the repositories.

tama
October 28th, 2006, 08:51 PM
Ouch, I guess I got confused ;). Don't care.
Sorry

zachtib
October 28th, 2006, 09:18 PM
Ouch, I guess I got confused ;). Don't care.
Sorry

what version of deluge are you using?
0.3 doesn't require the egg libs

AgenT
October 28th, 2006, 09:59 PM
What library/module does Deluge use for the tray icon?

zachtib
October 28th, 2006, 10:12 PM
What library/module does Deluge use for the tray icon?

in 0.3, it can use native pygtk code, which is available in pygtk 2.10, otherwise, it uses the egg libs

Choad
October 29th, 2006, 05:11 AM
in 0.3, it can use native pygtk code, which is available in pygtk 2.10, otherwise, it uses the egg libs
ahh sweet. i have 2.1 for some reason

edit: or even 0.21

pianoboy3333
November 1st, 2006, 03:34 PM
How do use native code to dock an application in the taskbar? I'm writing an app, and I was wondering how to avoid egg.trayicon.

iovar
November 1st, 2006, 04:00 PM
@pianoboy:
pygtk2.10 has StatusIcon.

mithras86
November 1st, 2006, 04:02 PM
How do use native code to dock an application in the taskbar? I'm writing an app, and I was wondering how to avoid egg.trayicon.New in pygtk (>=2.10) is the StatusIcon object. It's a class where you can change all the properties of your tray icon.

You can find more information about it here (http://www.pygtk.org/pygtk2reference/class-gtkstatusicon.html) from the pygtk documentation (http://www.pygtk.org/pygtk2reference/).

pianoboy3333
November 1st, 2006, 04:06 PM
thank you

pianoboy3333
November 8th, 2006, 04:59 PM
New in pygtk (>=2.10) is the StatusIcon object. It's a class where you can change all the properties of your tray icon.

You can find more information about it here (http://www.pygtk.org/pygtk2reference/class-gtkstatusicon.html) from the pygtk documentation (http://www.pygtk.org/pygtk2reference/).

And do you know where I can find docs on egg.trayicon?