On lundi 08 septembre 2008, Ron wrote: > Benoit Minisini schreef: > > On dimanche 07 septembre 2008, Ron wrote: > >> Hi, > >> > >> I want to add trayicon functionality to my program. > >> So I have dragged a Trayicon object to my main form to start with. > >> > >> When I start my program I get an 'Embedding has failed' error. > >> Since the message is so sparse, I have no clue where to look... > >> Do I miss a component, or forgot something? > >> > >> I'm using gb.qt with Gambas 2.8.1 > > > > In which desktop ? Can you send your project ? > > I get this error when I start my application as a remote X command > without a full desktop (with nomachine NX client), ok makes sense that > the tray has problems with that,
On X-Window, system tray icons are done with the same protocol than window embedding (Embedder control in Gambas). So the message error is "Embedding has failed". > but I don't remember other X > applications have problems with this. Maybe they just don't tell you there was a problem. > > When I start a full desktop and run my app, it works, but I get a signal > 11 error every time I close my application, if I enable the trayicon code. > Will try to destilate a smaller project with my trayicon code to sent to > you. > OK, waiting for it! Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
