Re: [Gambas-user] Bug in TrayIcon

2010-08-23 Thread Jussi Lahtinen
Yes, I modified startup, now there is 10s delay before starting gbr2. And everything works. Maybe I should write function to check if desktop panel is started or not. BTW. Does anyone know why sleep 10 && gbr2 ... doesn't work? It works in terminal, but in System --> Preferences --> Startup Applic

Re: [Gambas-user] Bug in TrayIcon

2010-08-23 Thread BenoƮt Minisini
> Hi! > TrayIcon seems to work perfectly, > until program that uses it, is started at startup of OS. > Program is started with following command; > gbr2 /home/MyName/ProgramsName.gambas > > > Program has following code: > > PUBLIC Kuvake AS NEW TrayIcon AS "TrayIkoni" > > PUBLIC SUB Form_Open()

[Gambas-user] Bug in TrayIcon

2010-08-17 Thread Jussi Lahtinen
Hi! TrayIcon seems to work perfectly, until program that uses it, is started at startup of OS. Program is started with following command; gbr2 /home/MyName/ProgramsName.gambas Program has following code: PUBLIC Kuvake AS NEW TrayIcon AS "TrayIkoni" PUBLIC SUB Form_Open() Kuvake.Picture = Pic