summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-04-21 08:05:02 -0400
committerAndreas Kling <kling@serenityos.org>2023-04-22 12:32:40 +0200
commit83524172781d205bb3e1eba67e6ddd8613c7529f (patch)
tree10ea3c0d84fc31665859e46e31292f5f04b775c4 /Userland/Applications
parentd1ad513cb1a0f3d9eba7ab8bb66ffe370b9daf2c (diff)
downloadserenity-83524172781d205bb3e1eba67e6ddd8613c7529f.zip
BrowserSettings: Slightly change text for adding a new content filter
Add an ellipsis to the button to add a new domain to indicate an action must be taken after pressing the button. Shorten the label next to the domain text box to be less overly verbose.
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.cpp2
-rw-r--r--Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.gml2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.cpp b/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.cpp
index 162d6884d5..d944b77d08 100644
--- a/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.cpp
+++ b/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.cpp
@@ -130,7 +130,7 @@ ContentFilterSettingsWidget::ContentFilterSettingsWidget()
m_add_new_domain_button->on_click = [&](unsigned) {
String text;
- if (GUI::InputBox::show(window(), text, "Enter domain name"sv, "Add domain to Content Filter"sv, GUI::InputType::NonemptyText) == GUI::Dialog::ExecResult::OK) {
+ if (GUI::InputBox::show(window(), text, "Domain:"sv, "Add domain to Content Filter"sv, GUI::InputType::NonemptyText) == GUI::Dialog::ExecResult::OK) {
m_domain_list_model->add_domain(move(text));
set_modified(true);
}
diff --git a/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.gml b/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.gml
index 2f6fda71fc..badd779825 100644
--- a/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.gml
+++ b/Userland/Applications/BrowserSettings/ContentFilterSettingsWidget.gml
@@ -28,7 +28,7 @@
@GUI::Button {
name: "add_new_domain_button"
fixed_width: 100
- text: "Add new domain"
+ text: "Add domain..."
}
}
}