about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRicky Kresslein <rk@lakoliu.com>2023-03-23 10:09:53 +0100
committerRicky Kresslein <rk@lakoliu.com>2023-03-23 10:12:21 +0100
commitef353318a77ae12d51223c309cf9d2c3df6151fa (patch)
tree1fdcfcbe02323cb0414b3dff0f4b9b6064d44036 /src
parent631581d457028442d68a25150ad5c09e09584e33 (diff)
downloadFurtherance-ef353318a77ae12d51223c309cf9d2c3df6151fa.tar.zst
#87: Implement libadwaita AboutWindow
Diffstat (limited to 'src')
-rw-r--r--src/application.rs22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/application.rs b/src/application.rs
index 218bc9e..9a6ea79 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -181,21 +181,21 @@ impl FurtheranceApplication {
 
     fn show_about(&self) {
         let window = self.active_window().unwrap();
-        let dialog = gtk::AboutDialog::builder()
+        let dialog = adw::AboutWindow::builder()
+            .application_name("Furtherance")
+            .application_icon(config::APP_ID)
+            .developer_name(gettext("Ricky Kresslein"))
+            .license_type(gtk::License::Gpl30)
+            .website("https://furtherance.app")
+            .issue_url("https://github.com/lakoliu/Furtherance/issues")
+            .version(config::VERSION)
             .transient_for(&window)
             .modal(true)
-            .program_name("Furtherance")
-            .logo_icon_name(config::APP_ID)
-            .version(config::VERSION)
-            .comments(&gettext("Track your time without being tracked"))
-            .copyright("© 2023 LakoLiu")
-            .authors(vec!["Ricky Kresslein <rk@lakoliu.com>"])
-            .translator_credits(&gettext("translator-credits"))
-            .website("https://furtherance.app")
-            .license_type(gtk::License::Gpl30)
+            .copyright(gettext("© 2023 LakoLiu"))
+            .translator_credits(gettext("translator-credits"))
             .build();
 
-        dialog.present();
+        dialog.show();
     }
 
     fn delete_history(&self) {