From 26a68acefd38d801c61cd72621bd1848bb94a468 Mon Sep 17 00:00:00 2001 From: miruka Date: Sun, 28 Feb 2021 12:06:34 -0400 Subject: [PATCH] Rename Notification... components for consistency --- src/gui/Pages/AccountSettings/Notifications.qml | 2 +- ...NotificationRuleButton.qml => PushRuleButton.qml} | 0 ...ficationRuleDelegate.qml => PushRuleDelegate.qml} | 12 ++++++------ 3 files changed, 7 insertions(+), 7 deletions(-) rename src/gui/Pages/AccountSettings/{NotificationRuleButton.qml => PushRuleButton.qml} (100%) rename src/gui/Pages/AccountSettings/{NotificationRuleDelegate.qml => PushRuleDelegate.qml} (92%) diff --git a/src/gui/Pages/AccountSettings/Notifications.qml b/src/gui/Pages/AccountSettings/Notifications.qml index 1b42dc7e..0becac8c 100644 --- a/src/gui/Pages/AccountSettings/Notifications.qml +++ b/src/gui/Pages/AccountSettings/Notifications.qml @@ -114,7 +114,7 @@ HListView { } } - delegate: NotificationRuleDelegate { + delegate: PushRuleDelegate { page: root width: root.width } diff --git a/src/gui/Pages/AccountSettings/NotificationRuleButton.qml b/src/gui/Pages/AccountSettings/PushRuleButton.qml similarity index 100% rename from src/gui/Pages/AccountSettings/NotificationRuleButton.qml rename to src/gui/Pages/AccountSettings/PushRuleButton.qml diff --git a/src/gui/Pages/AccountSettings/NotificationRuleDelegate.qml b/src/gui/Pages/AccountSettings/PushRuleDelegate.qml similarity index 92% rename from src/gui/Pages/AccountSettings/NotificationRuleDelegate.qml rename to src/gui/Pages/AccountSettings/PushRuleDelegate.qml index 471690be..92f6be09 100644 --- a/src/gui/Pages/AccountSettings/NotificationRuleDelegate.qml +++ b/src/gui/Pages/AccountSettings/PushRuleDelegate.qml @@ -36,7 +36,7 @@ HTile { } HRowLayout { - NotificationRuleButton { + PushRuleButton { id: notifyButton toggles: "notify" @@ -51,7 +51,7 @@ HTile { } } - NotificationRuleButton { + PushRuleButton { requiresOn: notifyButton toggles: "highlight" @@ -68,13 +68,13 @@ HTile { } } - NotificationRuleButton { + PushRuleButton { requiresOn: notifyButton icon.name: "pushrule-action-bubble" toggles: "bubble" } - NotificationRuleButton { + PushRuleButton { requiresOn: notifyButton icon.name: "pushrule-action-sound" toggles: "sound" @@ -85,7 +85,7 @@ HTile { "default" } - NotificationRuleButton { + PushRuleButton { requiresOn: notifyButton icon.name: "pushrule-action-urgency-hint" toggles: "urgency_hint" @@ -93,7 +93,7 @@ HTile { HSpacer {} - NotificationRuleButton { + PushRuleButton { icon.name: "pushrule-edit" onClicked: root.clicked() }