diff --git a/data/resources/resources.gresource.xml b/data/resources/resources.gresource.xml
index 2b4f94aa..f9eb156f 100644
--- a/data/resources/resources.gresource.xml
+++ b/data/resources/resources.gresource.xml
@@ -73,9 +73,9 @@
ui/event-source-dialog.ui
ui/greeter.ui
ui/identity-verification-widget.ui
- ui/idp-button.ui
ui/in-app-notification.ui
ui/login-advanced-dialog.ui
+ ui/login-idp-button.ui
ui/login.ui
ui/media-viewer.ui
ui/member-menu.ui
diff --git a/data/resources/ui/idp-button.ui b/data/resources/ui/login-idp-button.ui
similarity index 100%
rename from data/resources/ui/idp-button.ui
rename to data/resources/ui/login-idp-button.ui
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5b43e68d..7a8aaf07 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -44,7 +44,7 @@ data/resources/ui/qr-code-scanner.ui
src/application.rs
src/components/editable_avatar.rs
src/error_page.rs
-src/login.rs
+src/login/mod.rs
src/secret.rs
src/session/account_settings/devices_page/device_list.rs
src/session/account_settings/devices_page/device_row.rs
diff --git a/src/idp_button.rs b/src/login/idp_button.rs
similarity index 98%
rename from src/idp_button.rs
rename to src/login/idp_button.rs
index ac459b80..0963b3b7 100644
--- a/src/idp_button.rs
+++ b/src/login/idp_button.rs
@@ -73,7 +73,7 @@ mod imp {
use super::*;
#[derive(Debug, Default, CompositeTemplate)]
- #[template(resource = "/org/gnome/FractalNext/idp-button.ui")]
+ #[template(resource = "/org/gnome/FractalNext/login-idp-button.ui")]
pub struct IdpButton {
pub brand: Cell,
pub id: RefCell