Re: [Vala] PanelApplet example

2008-02-05 Thread Quikee
Great. Many thanks. Now I managed to get my example working (without custom vapi changes) as I have been missing Gnome.Program.Init. The example is now available in http://live.gnome.org/Vala/PanelAppletSample. I hope the changes you did will be merged with the upstream as a panel without the abi

Re: [Vala] PanelApplet example

2008-02-05 Thread Andrea Del Signore
On Tue, 2008-02-05 at 01:36 +0100, Andreas Sliwka wrote: > Greetings, > I'm looking for an example on how to create a PanelApplet with vala. > Any help would be greatly appreciated. [snip] Hi Andreas, I've done some panel applets with vala, so here are my experiences. The code it's not so clean

Re: [Vala] PanelApplet example

2008-02-05 Thread Maciej Piechotka
Quikee <[EMAIL PROTECTED]> writes: > I am also trying to create an example panel applet in vala but have > not succeeded. The example looks like this: > > panel.vala > > using GLib; > using Panel; > > > public class MainApplet : GLib.Object { > > public static bool panelFactory(Applet applet

Re: [Vala] PanelApplet example

2008-02-05 Thread Quikee
I am also trying to create an example panel applet in vala but have not succeeded. The example looks like this: panel.vala using GLib; using Panel; public class MainApplet : GLib.Object { public static bool panelFactory(Applet applet, string iid, pointer userData) { va

[Vala] PanelApplet example

2008-02-04 Thread Andreas Sliwka
Greetings, I'm looking for an example on how to create a PanelApplet with vala. Any help would be greatly appreciated. Jürg, in your blog you wrote on August 25th 2007 that you had such an example, would this still compile with the latest vala version? Best regards,