From 83524172781d205bb3e1eba67e6ddd8613c7529f Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 21 Apr 2023 08:05:02 -0400 Subject: [PATCH] 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. --- .../BrowserSettings/ContentFilterSettingsWidget.cpp | 2 +- .../BrowserSettings/ContentFilterSettingsWidget.gml | 2 +- 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..." } } }