Jorge Vargas wrote: > Hi I promise this is my last email tonight. > > I'm just stuck on this it seems there is a problem when creating the > new instance from the "panel add", because if I open a shell and run > python wp_thingy_view.py and then add it to the panel everything works > ok (I even check bonobo-browser and the factory is there), but if > there are no instances running (the normal way to execute an applet) > > I'm getting this very informative error .... > > The panel encountered a problem while loading "OAFIID:wp_thingy". > > [..] Hi!
have a look at http://www.davyd.id.au/articles/debugging-gnome-applets.shtml As you write a Python applet you have to use gdb python instead of gdb ./my_applet In addition, I had a similiar problem. The problem was that I exited the program if some umknown commandline arguments are supplied. Actually, bonobo calls an applet like this: gnome-applets/notification-area-applet --oaf-activate-iid=OAFIID:GNOME_NotificationAreaApplet_Factory --oaf-ior-fd=35 -- Greetings, Sebastian Pölsterl _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
