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
> 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()
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