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

[Gambas-bugtracker] Bug #3023: scripting fails if using gui


http://gambaswiki.org/bugtracker/edit?object=BUG.3023&from=L21haW4-

Comment #2 by Bruce STEERS:

Thank you Ben, I use scripting in many places that were broken but now work again.

seems to be error trying to make a .desktop file in _InitApp()

gb.gui.base: warning: cannot create application desktop file: /home/bonus/.local/share/flatpak/exports/share/applications/org.gambas.41876.desktop


If i remove the Error statement in the Catch part of _InitApp() then it all works okay.
https://gitlab.com/gambas/gambas/-/blob/master/comp/src/gb.gui.base/.src/_Gui.class?ref_type=heads#L180

So it seems _InitApp() is not needed (with scripting at least) as it errors but still works okay.


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----

References:
[Gambas-bugtracker] Bug #3023: scripting fails if using gui<bugtracker@xxxxxxxxxxxxxx>