diff options
author | Peter Eisenmann <p3732@getgoogleoff.me> | 2022-12-23 02:21:02 +0100 |
---|---|---|
committer | Corey Berla <corey@berla.me> | 2023-04-24 22:33:13 +0000 |
commit | ce4fbafde7a4e3f1fe66903524dcb19528d72124 (patch) | |
tree | 1fa1ae850e8b195a26909eb41a47c934356ee659 | |
parent | d2951408335942d8dfd1f34bbc8d1394c3323669 (diff) | |
download | nautilus-ce4fbafde7a4e3f1fe66903524dcb19528d72124.tar.gz |
progress-info-widget: use different icon for stopping operation
Using the same icon as for closing windows and dialogs can lead to user
confusion and thus accidental cancellation of operations.
This adds and uses a new icon, inspired by Builder's use of it to stop
ongoing operations.
Fixes #985
-rw-r--r-- | src/resources/icons/cross-filled-symbolic.svg | 2 | ||||
-rw-r--r-- | src/resources/nautilus.gresource.xml | 1 | ||||
-rw-r--r-- | src/resources/ui/nautilus-progress-info-widget.ui | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/icons/cross-filled-symbolic.svg b/src/resources/icons/cross-filled-symbolic.svg new file mode 100644 index 000000000..986417102 --- /dev/null +++ b/src/resources/icons/cross-filled-symbolic.svg @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 8 1 c -3.851562 0 -6.96875 3.117188 -6.96875 6.96875 s 3.117188 6.96875 6.96875 6.96875 s 6.96875 -3.117188 6.96875 -6.96875 s -3.117188 -6.96875 -6.96875 -6.96875 z m -3 3.96875 h 1 h 0.03125 c 0.253906 0.011719 0.511719 0.128906 0.6875 0.3125 l 1.28125 1.28125 l 1.3125 -1.28125 c 0.265625 -0.230469 0.445312 -0.304688 0.6875 -0.3125 h 1 v 1 c 0 0.285156 -0.035156 0.550781 -0.25 0.75 l -1.28125 1.28125 l 1.25 1.25 c 0.1875 0.1875 0.28125 0.453125 0.28125 0.71875 v 1 h -1 c -0.265625 0 -0.53125 -0.09375 -0.71875 -0.28125 l -1.28125 -1.28125 l -1.28125 1.28125 c -0.1875 0.1875 -0.453125 0.28125 -0.71875 0.28125 h -1 v -1 c 0 -0.265625 0.09375 -0.53125 0.28125 -0.71875 l 1.28125 -1.25 l -1.28125 -1.28125 c -0.210938 -0.195312 -0.304688 -0.46875 -0.28125 -0.75 z m 0 0" fill="#222222"/></svg> diff --git a/src/resources/nautilus.gresource.xml b/src/resources/nautilus.gresource.xml index bfe8b2bd3..87eb657e5 100644 --- a/src/resources/nautilus.gresource.xml +++ b/src/resources/nautilus.gresource.xml @@ -41,5 +41,6 @@ <file alias="quotation-symbolic.svg" preprocess="xml-stripblanks">icons/quotation-symbolic.svg</file> <file alias="funnel-symbolic.svg" preprocess="xml-stripblanks">icons/funnel-symbolic.svg</file> <file alias="external-link-symbolic.svg" preprocess="xml-stripblanks">icons/external-link-symbolic.svg</file> + <file alias="cross-filled-symbolic.svg" preprocess="xml-stripblanks">icons/cross-filled-symbolic.svg</file> </gresource> </gresources> diff --git a/src/resources/ui/nautilus-progress-info-widget.ui b/src/resources/ui/nautilus-progress-info-widget.ui index 048ef46cf..f1ca1423e 100644 --- a/src/resources/ui/nautilus-progress-info-widget.ui +++ b/src/resources/ui/nautilus-progress-info-widget.ui @@ -38,7 +38,7 @@ <object class="GtkButton" id="button"> <property name="valign">center</property> <property name="margin_start">20</property> - <property name="icon-name">window-close-symbolic</property> + <property name="icon-name">cross-filled-symbolic</property> <style> <class name="circular"/> </style> |