Re: Gnome Applets



Hi Benjamin

On Sun, 2007-09-23 at 16:17 -0500, Benjamin Gramlich wrote:
Greetings,

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.

Ryan?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]