mirror of
https://gitlab.freedesktop.org/pipewire/helvum.git
synced 2026-05-02 08:37:59 +02:00
ui: migrate to the new AdwDialog
This commit is contained in:
parent
980bb139e9
commit
b9c241ea9d
2 changed files with 3 additions and 4 deletions
|
|
@ -15,7 +15,7 @@ categories = ["gui", "multimedia"]
|
|||
|
||||
[dependencies]
|
||||
pipewire = "0.8.0"
|
||||
adw = { version = "0.6", package = "libadwaita", features = ["v1_4"] }
|
||||
adw = { version = "0.6", package = "libadwaita", features = ["v1_5"] }
|
||||
glib = { version = "0.19", features = ["log"] }
|
||||
async-channel = "2.2"
|
||||
|
||||
|
|
|
|||
|
|
@ -120,8 +120,7 @@ mod imp {
|
|||
let window = obj.active_window().unwrap();
|
||||
let authors: Vec<&str> = AUTHORS.split(':').collect();
|
||||
|
||||
let about_window = adw::AboutWindow::builder()
|
||||
.transient_for(&window)
|
||||
let about_window = adw::AboutDialog::builder()
|
||||
.application_icon(APP_ID)
|
||||
.application_name("Helvum")
|
||||
.developer_name("Tom Wagner")
|
||||
|
|
@ -132,7 +131,7 @@ mod imp {
|
|||
.license_type(gtk::License::Gpl30Only)
|
||||
.build();
|
||||
|
||||
about_window.present();
|
||||
about_window.present(&window);
|
||||
}
|
||||
|
||||
pub(super) fn setup_options(&self, pw_sender: Sender<GtkMessage>) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue