From e064c2a785890291c16018e530becaee16cb441e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 11 Dec 2023 00:34:31 +0100 Subject: [PATCH] extensions-app: Make kill switch more compact Instead of using a subtitle, move the stability warning into an information popover. Part-of: --- .../icons/scalable/actions/info-symbolic.svg | 1 + ...org.gnome.Extensions.data.gresource.xml.in | 2 + .../data/ui/extensions-window.ui | 37 +++++++++++++++++-- 3 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 subprojects/extensions-app/data/icons/scalable/actions/info-symbolic.svg diff --git a/subprojects/extensions-app/data/icons/scalable/actions/info-symbolic.svg b/subprojects/extensions-app/data/icons/scalable/actions/info-symbolic.svg new file mode 100644 index 000000000..65d5d5d10 --- /dev/null +++ b/subprojects/extensions-app/data/icons/scalable/actions/info-symbolic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/subprojects/extensions-app/data/org.gnome.Extensions.data.gresource.xml.in b/subprojects/extensions-app/data/org.gnome.Extensions.data.gresource.xml.in index d339d936f..47aaf8cd8 100644 --- a/subprojects/extensions-app/data/org.gnome.Extensions.data.gresource.xml.in +++ b/subprojects/extensions-app/data/org.gnome.Extensions.data.gresource.xml.in @@ -3,6 +3,8 @@ css/style.css + icons/scalable/actions/info-symbolic.svg + ui/help-overlay.ui diff --git a/subprojects/extensions-app/data/ui/extensions-window.ui b/subprojects/extensions-app/data/ui/extensions-window.ui index 75be005c9..32182d965 100644 --- a/subprojects/extensions-app/data/ui/extensions-window.ui +++ b/subprojects/extensions-app/data/ui/extensions-window.ui @@ -92,10 +92,41 @@ - Extensions - Extensions can cause performance and stability issues. Disable extensions if you encounter problems with your system. + _Extensions enabledSwitch - + true + + + center + false + info-symbolic + + More Information + + + + + + 350 + 350 + + + Extensions can cause performance and stability issues. It is recommended to disable all extensions if you experience problems with your system. + true + + + + + + + + + + + win.user-extensions-enabled center