[fractal] Switch Riot references to Element
- From: Alexandre Franke <afranke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] Switch Riot references to Element
- Date: Mon, 14 Dec 2020 16:42:05 +0000 (UTC)
commit dc8f6abcf9c3dc2175713dbce08a58a492fc40a3
Author: Kévin Commaille <zecakeh pm me>
Date: Sat Dec 12 07:31:10 2020 +0100
Switch Riot references to Element
fractal-gtk/res/org.gnome.Fractal.desktop.in.in | 2 +-
fractal-gtk/res/ui/login_flow.ui | 2 +-
fractal-gtk/src/actions/login.rs | 2 +-
fractal-gtk/src/appop/message.rs | 2 +-
fractal-gtk/src/globals.rs | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/fractal-gtk/res/org.gnome.Fractal.desktop.in.in b/fractal-gtk/res/org.gnome.Fractal.desktop.in.in
index 3f7b166b..05a5720e 100644
--- a/fractal-gtk/res/org.gnome.Fractal.desktop.in.in
+++ b/fractal-gtk/res/org.gnome.Fractal.desktop.in.in
@@ -10,6 +10,6 @@ StartupNotify=true
X-GNOME-UsesNotifications=true
Categories=GNOME;GTK;Network;InstantMessaging;
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list
MUST also end with a semicolon!
-Keywords=Matrix;matrix.org;chat;irc;communications;talk;riot;
+Keywords=Matrix;matrix.org;chat;irc;communications;talk;riot;element;
# Translators: Do NOT translate or transliterate this text (these are enum types)!
X-Purism-FormFactor=Workstation;Mobile;
diff --git a/fractal-gtk/res/ui/login_flow.ui b/fractal-gtk/res/ui/login_flow.ui
index c504651f..3ef45dca 100644
--- a/fractal-gtk/res/ui/login_flow.ui
+++ b/fractal-gtk/res/ui/login_flow.ui
@@ -355,7 +355,7 @@
<object class="GtkLinkButton" id="forgot_password">
<property name="use_underline">True</property>
<property name="label" translatable="yes">_Forgot Password?</property>
- <property name="uri">https://riot.im/app/#/login</property>
+ <property name="uri">https://app.element.io/#/login</property>
<property name="halign">start</property>
<style>
<class name="forgot-password"/>
diff --git a/fractal-gtk/src/actions/login.rs b/fractal-gtk/src/actions/login.rs
index eaa539a5..6e5bd885 100644
--- a/fractal-gtk/src/actions/login.rs
+++ b/fractal-gtk/src/actions/login.rs
@@ -64,7 +64,7 @@ pub fn new(
.expect("Could not grab toplevel widget")
.downcast::<gtk::Window>()
.expect("Could not cast toplevel to GtkWindow");
- let uri = globals::RIOT_REGISTER_URL;
+ let uri = globals::ELEMENT_REGISTER_URL;
if let Err(e) = gtk::show_uri_on_window(Some(&toplevel), uri, gtk::get_current_event_time())
{
warn!("Could not show {}: {}", uri, e)
diff --git a/fractal-gtk/src/appop/message.rs b/fractal-gtk/src/appop/message.rs
index 8dc320f3..9b7c3a64 100644
--- a/fractal-gtk/src/appop/message.rs
+++ b/fractal-gtk/src/appop/message.rs
@@ -245,7 +245,7 @@ impl AppOp {
m.mtype = String::from("m.emote");
}
- // Riot does not properly show emotes with Markdown;
+ // Element (Riot) does not properly show emotes with Markdown;
// Emotes with markdown have a newline after the username
if m.mtype != "m.emote" && self.md_enabled {
let mut md_options = ComrakOptions::default();
diff --git a/fractal-gtk/src/globals.rs b/fractal-gtk/src/globals.rs
index 3124a46f..2179657b 100644
--- a/fractal-gtk/src/globals.rs
+++ b/fractal-gtk/src/globals.rs
@@ -16,7 +16,7 @@ pub const USERLIST_ICON_SIZE: i32 = 30;
pub const PILL_ICON_SIZE: i32 = 18;
pub const MINUTES_TO_SPLIT_MSGS: i64 = 30;
pub const PLACEHOLDER_TEXT: &str = "Matrix username, email or phone number";
-pub const RIOT_REGISTER_URL: &str = "https://riot.im/app/#/register";
+pub const ELEMENT_REGISTER_URL: &str = "https://app.element.io/#/register";
pub const MAX_IMAGE_SIZE: (i32, i32) = (600, 400);
pub const MAX_STICKER_SIZE: (i32, i32) = (200, 130);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]