On Tue, 2004-04-20 at 08:44, Haim Ashkenazi wrote: > It seems that the only way I can run the sample applet that comes with > python-gnome is from the gnome-panel's menu. if I try to run the script as > an executable it just hangs. I was wondering if there's a way I can write > applet that would run from the command line (or maybe even writing an > application that has an option of icon on the panel to indicate status, > hide main window, etc...).
When you run an applet in a terminal you are running the *factory*, you still need to use the panel menu to Add to Panel, otherwise how does the applet know what panel to appear on, where etc. If you want an icon to appear on the panel only when an application is running (see gnome-cd, rhythmbox, gossip), you want to use the notification area -- see this link for a brief overview: http://www-106.ibm.com/developerworks/linux/library/l-wrap/ Ross -- Ross Burton mail: [EMAIL PROTECTED] jabber: [EMAIL PROTECTED] www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
