Re: Gnome Applets
- From: Alex Jones <alex weej com>
- To: Benjamin Gramlich <benjamin gramlich gmail com>
- Cc: desktop-devel-list gnome org
- Subject: Re: Gnome Applets
- Date: Sun, 23 Sep 2007 22:34:49 +0100
On Sun, 2007-09-23 at 16:17 -0500, Benjamin Gramlich wrote:
Since bonobo is heading toward deprecation, what is the new way to write
Gnome applets? Most of the documentation that's floating around out
there is about 2 -5 years old. I'd like to write new tutorial for python
applets with the new preferred architecture.
Ryan Lortie was rewriting panel stuff, but has moved on to DConf/GSettings lately.
>From what I understand, panel applets define a service name and an object path, say "org.gnome.Rhythmbox" and "/org/gnome/Rhythmbox/PanelApplet" respectively. The object implements the "org.gnome.PanelApplet" interface, which defines a method for grabbing a socket to use with XEmbed or whatever. You then just need to make sure your service is D-Bus activatable, by including a Service Definition in /usr/share/dbus-1/services.
] [Thread Prev