1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
use gtk::prelude::*;
use crate::main::i18n::*;
use crate::main::ui::SkApplicationWindow;
use crate::shared::config;
pub fn show(parent: &SkApplicationWindow) {
let vcs_tag = format!("Git Commit: {}", config::VCS_TAG);
let version = match config::PROFILE {
"development" => format!("{}-devel", config::VERSION),
_ => config::VERSION.to_string(),
};
let window = adw::AboutWindow::new();
window.set_transient_for(Some(parent));
window.set_application_icon(config::APP_ID);
window.set_application_name(config::NAME);
window.set_designers(&["Tobias Bernard"]);
window.set_comments(&i18n("An easy to use Flatpak frontend"));
window.set_copyright("© 2020-2023 Felix Häcker");
window.set_debug_info(&vcs_tag);
window.set_developer_name("Felix Häcker");
window.set_developers(&["Felix Häcker <haeckerfelix@gnome.org>"]);
window.set_issue_url("https://gitlab.gnome.org/haecker-felix/souk/-/issues");
window.set_license_type(gtk::License::Gpl30);
window.set_translator_credits(&i18n("translator-credits"));
window.set_version(&version);
window.set_website("https://gitlab.gnome.org/haecker-felix/souk");
window.show();
}