clan-app: prepare icon support on linux

For some reason the icon is not shown when using the gtk backend but at
least the API calls look correct.
This commit is contained in:
Jörg Thalheim
2025-05-14 15:24:24 +02:00
parent 172d571804
commit 3eb8af34fc
4 changed files with 22 additions and 2 deletions

View File

@@ -39,6 +39,8 @@ def app_run(app_opts: ClanAppOptions) -> int:
webview = Webview(debug=app_opts.debug)
webview.title = "Clan App"
# This seems to call the gtk api correctly but and gtk also seems to our icon, but somehow the icon is not loaded.
webview.icon = "clan-white"
def cancel_task(
task_id: str, *, op_key: str