From 6cd39f829f5eeb28906901fe35a5ef2118b9d19d Mon Sep 17 00:00:00 2001 From: two Date: Tue, 22 Nov 2022 20:50:49 +0000 Subject: [PATCH] status/system: Use a better icon in screenshot button The screenshot button could be mistaken for one that opens a program for taking photos and videos. Change it to one that is less ambiguous. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5993 Part-of: --- data/gnome-shell-icons.gresource.xml | 5 +++-- data/icons/scalable/actions/screenshooter-symbolic.svg | 9 +++++++++ js/ui/status/system.js | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 data/icons/scalable/actions/screenshooter-symbolic.svg diff --git a/data/gnome-shell-icons.gresource.xml b/data/gnome-shell-icons.gresource.xml index 9b4e6f361..d808c9be6 100644 --- a/data/gnome-shell-icons.gresource.xml +++ b/data/gnome-shell-icons.gresource.xml @@ -10,12 +10,13 @@ scalable/actions/pointer-primary-click-symbolic.svg scalable/actions/pointer-secondary-click-symbolic.svg scalable/actions/preview-close-symbolic.svg + scalable/actions/record-screen-symbolic.svg + scalable/actions/screencast-recorded-symbolic.svg + scalable/actions/screenshooter-symbolic.svg scalable/actions/screenshot-ui-area-symbolic.svg scalable/actions/screenshot-ui-display-symbolic.svg scalable/actions/screenshot-ui-show-pointer-symbolic.svg scalable/actions/screenshot-ui-window-symbolic.svg - scalable/actions/record-screen-symbolic.svg - scalable/actions/screencast-recorded-symbolic.svg scalable/actions/screenshot-recorded-symbolic.svg scalable/status/keyboard-caps-lock-symbolic.svg scalable/status/keyboard-enter-symbolic.svg diff --git a/data/icons/scalable/actions/screenshooter-symbolic.svg b/data/icons/scalable/actions/screenshooter-symbolic.svg new file mode 100644 index 000000000..3fa5eb207 --- /dev/null +++ b/data/icons/scalable/actions/screenshooter-symbolic.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/js/ui/status/system.js b/js/ui/status/system.js index 308f4772a..25521125f 100644 --- a/js/ui/status/system.js +++ b/js/ui/status/system.js @@ -100,7 +100,7 @@ class ScreenshotItem extends QuickSettingsItem { super._init({ style_class: 'icon-button', can_focus: true, - icon_name: 'camera-photo-symbolic', + icon_name: 'screenshooter-symbolic', visible: !Main.sessionMode.isGreeter, accessible_name: _('Take Screenshot'), });