1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

CertificateSettings: Update to be more consistent with other settings

This commit is contained in:
Cameron Youell 2023-04-04 18:04:13 +10:00 committed by Andrew Kaster
parent 0060b8c4e5
commit ef5cca71dc
5 changed files with 8 additions and 9 deletions

View file

@ -4,8 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "CertificateStore.h"
#include "CertificateStoreWidget.h"
#include <LibCore/StandardPaths.h>
#include <LibCore/System.h>
#include <LibGUI/Application.h>
@ -28,7 +27,7 @@ ErrorOr<int> serenity_main(Main::Arguments args)
TRY(Core::System::unveil(nullptr, nullptr));
auto app_icon = GUI::Icon::default_icon("certificate"sv);
auto window = TRY(GUI::SettingsWindow::create("Certificates", GUI::SettingsWindow::ShowDefaultsButton::No));
auto window = TRY(GUI::SettingsWindow::create("Certificate Settings", GUI::SettingsWindow::ShowDefaultsButton::No));
auto cert_store_widget = TRY(window->add_tab<CertificateSettings::CertificateStoreWidget>(TRY("Certificate Store"_string), "certificate"sv));
window->set_icon(app_icon.bitmap_for_size(16));