From 15afbb7022d8ff78a0c8d39f5dfbe7bec13bd091 Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Fri, 17 Dec 2021 17:33:57 +0100 Subject: [PATCH] verification: Move widgets to content and rename some --- data/resources/resources.gresource.xml | 2 +- data/resources/ui/content.ui | 2 +- ...ion.ui => identity-verification-widget.ui} | 2 +- po/POTFILES.in | 6 +- src/meson.build | 7 ++- src/session/content/mod.rs | 13 ++-- .../{ => content}/verification/emoji.rs | 0 .../identity_verification_widget.rs} | 60 ++++++++++--------- src/session/content/verification/mod.rs | 7 +++ .../verification/session_verification.rs | 3 +- src/session/mod.rs | 3 +- src/session/verification/mod.rs | 6 -- 12 files changed, 62 insertions(+), 49 deletions(-) rename data/resources/ui/{incoming-verification.ui => identity-verification-widget.ui} (99%) rename src/session/{ => content}/verification/emoji.rs (100%) rename src/session/{verification/incoming_verification.rs => content/verification/identity_verification_widget.rs} (86%) create mode 100644 src/session/content/verification/mod.rs rename src/session/{ => content}/verification/session_verification.rs (99%) diff --git a/data/resources/resources.gresource.xml b/data/resources/resources.gresource.xml index 4841e5be..a1600b22 100644 --- a/data/resources/resources.gresource.xml +++ b/data/resources/resources.gresource.xml @@ -54,7 +54,7 @@ ui/room-creation.ui ui/session-verification.ui ui/verification-emoji.ui - ui/incoming-verification.ui + ui/identity-verification-widget.ui ui/qr-code-scanner.ui ui/components-video-player.ui style.css diff --git a/data/resources/ui/content.ui b/data/resources/ui/content.ui index e8b6156a..d8e7b62c 100644 --- a/data/resources/ui/content.ui +++ b/data/resources/ui/content.ui @@ -75,7 +75,7 @@ - + diff --git a/data/resources/ui/incoming-verification.ui b/data/resources/ui/identity-verification-widget.ui similarity index 99% rename from data/resources/ui/incoming-verification.ui rename to data/resources/ui/identity-verification-widget.ui index 284dc426..32e690c2 100644 --- a/data/resources/ui/incoming-verification.ui +++ b/data/resources/ui/identity-verification-widget.ui @@ -1,6 +1,6 @@ -