mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 10:58:04 +08:00
Update links from graphite.rs to graphite.art
This commit is contained in:
@@ -20,9 +20,9 @@ impl DialogLayoutHolder for AboutGraphiteDialog {
|
||||
|
||||
fn layout_column_2(&self) -> Layout {
|
||||
let links = [
|
||||
("Heart", "Donate", "https://graphite.rs/donate/"),
|
||||
("GraphiteLogo", "Website", "https://graphite.rs"),
|
||||
("Volunteer", "Volunteer", "https://graphite.rs/volunteer/"),
|
||||
("Heart", "Donate", "https://graphite.art/donate/"),
|
||||
("GraphiteLogo", "Website", "https://graphite.art"),
|
||||
("Volunteer", "Volunteer", "https://graphite.art/volunteer/"),
|
||||
("Credits", "Credits", "https://github.com/GraphiteEditor/Graphite/graphs/contributors"),
|
||||
];
|
||||
let mut widgets = links
|
||||
|
||||
@@ -20,7 +20,7 @@ impl DialogLayoutHolder for LicensesDialog {
|
||||
let button_definitions: &[(&str, &str, fn() -> Message)] = &[
|
||||
("GraphiteLogo", "Graphite Logo", || {
|
||||
FrontendMessage::TriggerVisitLink {
|
||||
url: "https://graphite.rs/logo/".into(),
|
||||
url: "https://graphite.art/logo/".into(),
|
||||
}
|
||||
.into()
|
||||
}),
|
||||
@@ -32,7 +32,7 @@ impl DialogLayoutHolder for LicensesDialog {
|
||||
}),
|
||||
("License", "Graphite License", || {
|
||||
FrontendMessage::TriggerVisitLink {
|
||||
url: "https://graphite.rs/license/".into(),
|
||||
url: "https://graphite.art/license/".into(),
|
||||
}
|
||||
.into()
|
||||
}),
|
||||
|
||||
@@ -77,7 +77,7 @@ impl LayoutHolder for MenuBarMessageHandler {
|
||||
.label("")
|
||||
.flush(true)
|
||||
.icon(Some("GraphiteLogo".into()))
|
||||
.on_commit(|_| FrontendMessage::TriggerVisitLink { url: "https://graphite.rs".into() }.into())
|
||||
.on_commit(|_| FrontendMessage::TriggerVisitLink { url: "https://graphite.art".into() }.into())
|
||||
.widget_instance(),
|
||||
#[cfg(target_os = "macos")]
|
||||
TextButton::new("Graphite")
|
||||
@@ -652,13 +652,13 @@ impl LayoutHolder for MenuBarMessageHandler {
|
||||
vec![
|
||||
MenuListEntry::new("Donate to Graphite").label("Donate to Graphite").icon("Heart").on_commit(|_| {
|
||||
FrontendMessage::TriggerVisitLink {
|
||||
url: "https://graphite.rs/donate/".into(),
|
||||
url: "https://graphite.art/donate/".into(),
|
||||
}
|
||||
.into()
|
||||
}),
|
||||
MenuListEntry::new("User Manual").label("User Manual").icon("UserManual").on_commit(|_| {
|
||||
FrontendMessage::TriggerVisitLink {
|
||||
url: "https://graphite.rs/learn/".into(),
|
||||
url: "https://graphite.art/learn/".into(),
|
||||
}
|
||||
.into()
|
||||
}),
|
||||
|
||||
@@ -894,7 +894,7 @@ impl MessageHandler<PortfolioMessage, PortfolioMessageContext<'_>> for Portfolio
|
||||
}
|
||||
}
|
||||
PortfolioMessage::RequestWelcomeScreenButtonsLayout => {
|
||||
let donate = "https://graphite.rs/donate/";
|
||||
let donate = "https://graphite.art/donate/";
|
||||
|
||||
let table = LayoutGroup::Table {
|
||||
unstyled: true,
|
||||
|
||||
Reference in New Issue
Block a user