Changelog:
r42905 | compyx | 2023-01-19 10:02:18 +0000 (Thu, 19 Jan 2023) | 7 lines
Gtk3: Add PET userport diagnostic pin status bar LED and hotkey (Alt+Shift+d)
Add clickable LED on the status bar to toggle the userport diagnostic pin
in xpet. Also add xpet-specific UI action 'diagnostic-pin-toggle' and map the
action to Alt+Shift+d/Command+Shift+d.
------------------------------------------------------------------------
r42904 | compyx | 2023-01-18 23:32:09 +0000 (Wed, 18 Jan 2023) | 5 lines
Gtk3: resource browser widget: fix memory leak on widget destruction
Properly free the internal state object itself, not only its members.
------------------------------------------------------------------------
r42903 | compyx | 2023-01-18 23:25:32 +0000 (Wed, 18 Jan 2023) | 9 lines
Gtk3: Log file widget: make "Open log file directory" work on Windows
Use g_spawn_async() to have explorer.exe open in the log file directory.
This is a lot safer than any system()-like arbitrary command line execution,
and it surprisingly actually works.
Still need to find out if g_show_uri_on_window("file://<directory>/") works on
MacOS or we also need to use g_spawn_async() for MacOS.
------------------------------------------------------------------------
r42902 | compyx | 2023-01-18 22:23:37 +0000 (Wed, 18 Jan 2023) | 10 lines
Gtk3: Refactor and improve resource browser widget, fix logfile browser
Refactor the "resource browser" code, making handling internal state easier
and more robust. Add posibility to set a default directory for the "Save"
variant of the widget: if the resource is NULL/empty the default directory
(if set) will be used as the directory for the file chooser.
This also fixes the "LogFileName" widget by setting the directory to
archdep_user_state_path() if "LogFileName" is NULL.
------------------------------------------------------------------------
r42901 | compyx | 2023-01-18 12:39:52 +0000 (Wed, 18 Jan 2023) | 3 lines
Replace manual building of default log file path with archdep_default_logfile()
------------------------------------------------------------------------