Merge pull request 'clan-app: set title and icon' (#3658) from clan-app-title into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3658
This commit is contained in:
Mic92
2025-05-15 10:42:06 +00:00
5 changed files with 28 additions and 62 deletions

View File

@@ -38,6 +38,9 @@ def app_run(app_opts: ClanAppOptions) -> int:
content_uri = f"file://{site_index}"
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