mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 08:44:40 +01:00
Switch to AdwAboutWindow
This commit is contained in:
parent
7cff5f9545
commit
594bf9fcf0
2 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,7 @@ name = "authenticator"
|
|||
version = "4.1.6"
|
||||
|
||||
[dependencies]
|
||||
adw = {package = "libadwaita", version = "0.2"}
|
||||
adw = {package = "libadwaita", version = "0.2", features = ["v1_2"]}
|
||||
anyhow = "1.0"
|
||||
ashpd = {version = "0.4.0-alpha.1", features = ["pipewire", "gtk4"]}
|
||||
binascii = "0.1"
|
||||
|
|
|
@ -114,13 +114,13 @@ mod imp {
|
|||
let about_action = gio::ActionEntry::builder("about")
|
||||
.activate(|app: &Self::Type, _, _| {
|
||||
let window = app.active_window();
|
||||
gtk::AboutDialog::builder()
|
||||
.program_name(&gettext("Authenticator"))
|
||||
adw::AboutWindow::builder()
|
||||
.application_name(&gettext("Authenticator"))
|
||||
.modal(true)
|
||||
.version(config::VERSION)
|
||||
.comments(&gettext("Generate Two-Factor Codes"))
|
||||
.website("https://gitlab.gnome.org/World/Authenticator")
|
||||
.authors(vec![
|
||||
.developers(vec![
|
||||
"Bilal Elmoussaoui".to_string(),
|
||||
"Maximiliano Sandoval".to_string(),
|
||||
"Christopher Davis".to_string(),
|
||||
|
@ -131,7 +131,7 @@ mod imp {
|
|||
"Tobias Bernard".to_string(),
|
||||
])
|
||||
.translator_credits(&gettext("translator-credits"))
|
||||
.logo_icon_name(config::APP_ID)
|
||||
.application_icon(config::APP_ID)
|
||||
.license_type(gtk::License::Gpl30)
|
||||
.transient_for(&window)
|
||||
.build()
|
||||
|
|
Loading…
Add table
Reference in a new issue