From: Jonatan L. <li...@ky...> - 2008-03-24 19:30:54
|
Dennis Tomas wrote: > Jonatan Liljedahl schrieb: >> I'm trying the latest devtray, I get this at startup. the computer icon >> is in the panel but no devices shows up: >> >> Traceback (most recent call last): >> File "/Users/lijon/Apps/DevTray/AppRun", line 26, in ? >> DevTrayMain().mainloop(sys.argv) >> File "/Users/lijon/Apps/DevTray/main.py", line 27, in mainloop >> Main.mainloop(self, app_args, DevTray, self.__win_config) >> File "/ROX-Apps/TrayLib/python/traylib/main.py", line 75, in mainloop >> rox.mainloop() >> File "/ROX-Apps/ROX-Lib2/python/rox/__init__.py", line 260, in mainloop >> g.main() >> File "/ROX-Apps/ROX-Lib2/python/rox/tasks.py", line 263, in >> _handle_run_queue >> task._resume() >> File "/ROX-Apps/ROX-Lib2/python/rox/tasks.py", line 211, in _resume >> new_blockers = self.next() >> File "/Users/lijon/Apps/DevTray/devtray.py", line 42, in __init >> self.__add_device(udi, True) >> File "/Users/lijon/Apps/DevTray/devtray.py", line 179, in __add_device >> for window in screen.get_windows(): >> NameError: global name 'screen' is not define > Sorry, I obviously forgot an "if have_wnck" check around that for-loop. I installed latest libwnck and gnome-python-desktop (and had to upgrade gtk, glib and pygtk as well.. :) and now it works fine. Just one question, I have changed the color of my rox panels in my gtkrc, matching it with 'widget "*panel*" style "roxpanel"'. Perhaps you should set the background widget to the same gtk widget name as the rox-panel so it gets the same gtkrc settings? -- /Jonatan [ http://kymatica.com ] |