Re: [pygtk] PyGNOME2 panel applets

2002-11-01 Thread Martin Grimme
The topic of panel applets in pygnome2 has been raised before, and 
seemingly, answered succinctly:
	http://www.daa.com.au/pipermail/pygtk/2002-September/003393.html
However, I'm still confused.  Using the files attached to the above post,
I put GNOME_HelloApplet.server in /home/btonkes/lib/oaf which is in the oaf
path:
	$ oaf-sysconf --display-directories
	OAF configuration file contains:
	/home/btonkes/lib/oaf
and python-applet in /home/btonkes/src/pyapplet, changing the PATH TO PYTHON
APPLET string in GNOME_HelloApplet.server to
/home/btonkes/src/pyapplet/python-applet.  My question: what next?  Running
python-applet seems to do nothing.  Am I doing something fundamentally wrong?

You have to start the applet by adding it to the panel like any other
applet. It should appear in the panel menu for adding applets.

Btw, panel applets are Bonobo Controls now. So they are a little bit
different from the applets in GNOME 1.x.

Bye, Martin Grimme - http://www.pycage.de

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



[pygtk] PyGNOME2 panel applets

2002-10-30 Thread Brad Tonkes
The topic of panel applets in pygnome2 has been raised before, and 
seemingly, answered succinctly:
http://www.daa.com.au/pipermail/pygtk/2002-September/003393.html
However, I'm still confused.  Using the files attached to the above post,
I put GNOME_HelloApplet.server in /home/btonkes/lib/oaf which is in the oaf
path:
$ oaf-sysconf --display-directories
OAF configuration file contains:
/home/btonkes/lib/oaf
and python-applet in /home/btonkes/src/pyapplet, changing the PATH TO PYTHON
APPLET string in GNOME_HelloApplet.server to
/home/btonkes/src/pyapplet/python-applet.  My question: what next?  Running
python-applet seems to do nothing.  Am I doing something fundamentally wrong?

I'm using Red Hat 8.0 with the supplied gnome-python rpms, i.e.,
gnome-python2-applet-1.99.11-8
gnome-python2-gtkhtml2-1.99.11-8
gnome-python2-canvas-1.99.11-8
gnome-python2-bonobo-1.99.11-8
gnome-python2-1.99.11-8
orbit-python-1.99.0-4

Is this the only way to create panel applets?  I initially thought that
import gnome
import gnome.applet
applet = gnome.applet.Applet()
might work, but this just dumps core.

Any help appreciated,
thanks,
brad

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/