mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-04-18 18:48:33 +02:00
refactor
This commit is contained in:
parent
f0214edd02
commit
2b3527235e
|
@ -192,23 +192,23 @@ impl Window {
|
||||||
fn setupPopoverButtons(&self) {
|
fn setupPopoverButtons(&self) {
|
||||||
let selfImp = self.imp();
|
let selfImp = self.imp();
|
||||||
selfImp.resetAboutButton.connect_clicked(clone!(@ weak self as window => move |_| {
|
selfImp.resetAboutButton.connect_clicked(clone!(@ weak self as window => move |_| {
|
||||||
let dialog = adw::AboutWindow::builder()
|
let dialog = adw::AboutWindow::builder()
|
||||||
.application_name("ReSet")
|
.application_name("ReSet")
|
||||||
// .application_icon("")
|
// .application_icon("")
|
||||||
.developer_name("Xetibo")
|
.developer_name("Xetibo")
|
||||||
.license_type(gtk::License::Gpl30)
|
.license_type(gtk::License::Gpl30)
|
||||||
.website("https://github.com/Xetibo/ReSet")
|
.website("https://github.com/Xetibo/ReSet")
|
||||||
.issue_url("https://github.com/Xetibo/ReSet/issues")
|
.issue_url("https://github.com/Xetibo/ReSet/issues")
|
||||||
.version("0.0.1")
|
.version("0.0.1")
|
||||||
.transient_for(&window)
|
.transient_for(&window)
|
||||||
.modal(true)
|
.modal(true)
|
||||||
.copyright("© 2022-2023 Xetibo")
|
.copyright("© 2022-2023 Xetibo")
|
||||||
.developers(vec!["DashieTM".to_string(), "takatori".to_string()])
|
.developers(vec!["DashieTM".to_string(), "takatori".to_string()])
|
||||||
.designers(vec!["DashieTM".to_string(), "takatori".to_string()])
|
.designers(vec!["DashieTM".to_string(), "takatori".to_string()])
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
dialog.present();
|
dialog.present();
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue