Skip to content

Commit 93bb72c

Browse files
committed
feat: Use new constants in about window
1 parent 8cbd660 commit 93bb72c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/widgets/window.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::marker::PhantomData;
55
use adw::prelude::*;
66
use adw::subclass::application_window::AdwApplicationWindowImpl;
77
use anyhow::Context;
8-
use config::APP_ID;
8+
use config::{APP_ID, BUGTRACKER_URL, DONATIONS_URL, PROJECT_URL, REPO_URL};
99
use futures::prelude::*;
1010
use glib::{clone, Properties};
1111
use gtk::subclass::prelude::*;
@@ -742,10 +742,11 @@ impl Window {
742742
.license_type(gtk::License::Gpl30)
743743
.version(build_config::VERSION)
744744
.copyright("Copyright © 2022-2024 ranfdev")
745-
.issue_url("https://github.com/ranfdev/Geopard/issues")
746-
.website("https://github.com/ranfdev/Geopard")
745+
.issue_url(BUGTRACKER_URL)
746+
.website(PROJECT_URL)
747747
.build();
748-
about.add_link("Donate 💝", "https://github.com/sponsors/ranfdev");
748+
about.add_link("Source Code", REPO_URL);
749+
about.add_link("Donate 💝", DONATIONS_URL);
749750
about.present(self);
750751
}
751752

0 commit comments

Comments
 (0)