ui: Add "About" window to display version, authors, license, etc.

This adds a new adw::AboutWindow containing information about version, authors, license, links etc.
It is opened via a new menu button in the toolbar, which opens a menu containing an "About Helvum" button.

The version and authors are pulled from the Cargo.toml file.
This commit is contained in:
Tom A. Wagner
2023-09-19 16:12:29 +02:00
parent e92c77f2b1
commit bc006fe393
4 changed files with 72 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
[package]
name = "helvum"
version = "0.4.1"
authors = ["Tom A. Wagner <tom.a.wagner@protonmail.com>"]
authors = ["Tom Wagner <tom.a.wagner@protonmail.com>"]
edition = "2021"
rust-version = "1.70"
license = "GPL-3.0-only"
@@ -15,7 +15,7 @@ categories = ["gui", "multimedia"]
[dependencies]
pipewire = "0.7.1"
adw = { version = "0.5", package = "libadwaita" }
adw = { version = "0.5", package = "libadwaita", features = ["v1_2"] }
glib = { version = "0.18", features = ["log"] }
log = "0.4.11"