From 7deb21c182188b26cd1bf13e12e4677ac01ee7e5 Mon Sep 17 00:00:00 2001 From: miruka Date: Sat, 7 Dec 2019 12:45:20 -0400 Subject: [PATCH] Rename "logout" things to "sign out" + update icon --- src/icons/thin/logout.svg | 3 --- src/icons/thin/sign-out.svg | 3 +++ src/qml/Dialogs/ExportKeys.qml | 2 +- src/qml/Popups/{LogoutPopup.qml => SignOutPopup.qml} | 2 +- src/qml/SidePane/AccountDelegate.qml | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 src/icons/thin/logout.svg create mode 100644 src/icons/thin/sign-out.svg rename src/qml/Popups/{LogoutPopup.qml => SignOutPopup.qml} (99%) diff --git a/src/icons/thin/logout.svg b/src/icons/thin/logout.svg deleted file mode 100644 index ccfa9672..00000000 --- a/src/icons/thin/logout.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/icons/thin/sign-out.svg b/src/icons/thin/sign-out.svg new file mode 100644 index 00000000..5609acb3 --- /dev/null +++ b/src/icons/thin/sign-out.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/qml/Dialogs/ExportKeys.qml b/src/qml/Dialogs/ExportKeys.qml index d2fcf12b..7fea327e 100644 --- a/src/qml/Dialogs/ExportKeys.qml +++ b/src/qml/Dialogs/ExportKeys.qml @@ -12,7 +12,7 @@ HFileDialogOpener { } - // This is used for the LogoutPopup to know when the export is done + // This is used for the SignOutPopup to know when the export is done // so it can close signal done() diff --git a/src/qml/Popups/LogoutPopup.qml b/src/qml/Popups/SignOutPopup.qml similarity index 99% rename from src/qml/Popups/LogoutPopup.qml rename to src/qml/Popups/SignOutPopup.qml index 986822bc..b523dc38 100644 --- a/src/qml/Popups/LogoutPopup.qml +++ b/src/qml/Popups/SignOutPopup.qml @@ -18,7 +18,7 @@ BoxPopup { box.focusButton: "ok" box.buttonModel: [ { name: "ok", text: qsTr("Export keys"), iconName: "export-keys" }, - { name: "signout", text: qsTr("Sign out now"), iconName: "logout", + { name: "signout", text: qsTr("Sign out now"), iconName: "sign-out", iconColor: theme.colors.middleBackground }, { name: "cancel", text: qsTr("Cancel"), iconName: "cancel" }, ] diff --git a/src/qml/SidePane/AccountDelegate.qml b/src/qml/SidePane/AccountDelegate.qml index 485e4bfc..75ae04a9 100644 --- a/src/qml/SidePane/AccountDelegate.qml +++ b/src/qml/SidePane/AccountDelegate.qml @@ -107,11 +107,11 @@ HTileDelegate { contextMenu: HMenu { HMenuItem { - icon.name: "logout" + icon.name: "sign-out" icon.color: theme.colors.negativeBackground - text: qsTr("Logout") + text: qsTr("Sign out") onTriggered: Utils.makePopup( - "Popups/LogoutPopup.qml", + "Popups/SignOutPopup.qml", mainUI, { "userId": model.data.user_id }, popup => { popup.ok.connect(() => { disconnecting = true }) },