Re: Writing Gnome2 applets



Philip Van Hoof wrote:

On Tue, 2002-09-10 at 21:26, Martyn Russell wrote:
I tried to get applets to work from my application WITHOUT using the macro which acts as a main(argc,argv) entry point for you application so that I could simply add an icon into the panel. I was unsuccessfull and because the documentation is poor I didnt continue it. If anyone manages to do this, post it here and/or let me know.

I tried doing the same thing for gcm (Gnome Clipboard Manager). Also
unsuccessfull. I guess the only way is to create a new application and
lauch it from yours ?! :-(


I have spent the whole of tonight trying to get this going. In the end I managed to get the applet factory to run from my OWN main(argc,argv) successfully. EXCEPT the problem now is that it returns TRUE (success) from the function but NEVER calls the callback routine to set up the applet??

I have a feeling that to get the applet running it relies heavily on gconf and having that set up correctly?! Have a look in gconf-editor under the path: apps/panel/profiles/default/applets

Regards,

Martyn





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