mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-11 08:57:21 +00:00
Show X for Overview desktop deletion
KWin Overview 6.6 asks for the raw delete icon name on its virtual desktop delete button. Provide delete and delete-symbolic in the Shift icon theme, and point nearby KDE delete aliases at the existing close glyph so the button renders as an X instead of a fallback icon. Guard the aliases in the icon theme coverage check.
This commit is contained in:
parent
a3e6182086
commit
afe97d41f8
7 changed files with 20 additions and 3 deletions
1
icons/org.shift.icons/actions/symbolic/delete-symbolic.svg
Symbolic link
1
icons/org.shift.icons/actions/symbolic/delete-symbolic.svg
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
window-close-symbolic.svg
|
||||||
1
icons/org.shift.icons/actions/symbolic/delete.svg
Symbolic link
1
icons/org.shift.icons/actions/symbolic/delete.svg
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
window-close.svg
|
||||||
|
|
@ -1 +1 @@
|
||||||
trash-empty.svg
|
window-close-symbolic.svg
|
||||||
|
|
@ -1 +1 @@
|
||||||
trash-empty.svg
|
window-close.svg
|
||||||
1
icons/org.shift.icons/actions/symbolic/edit-delete-symbolic.svg
Symbolic link
1
icons/org.shift.icons/actions/symbolic/edit-delete-symbolic.svg
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
window-close-symbolic.svg
|
||||||
|
|
@ -1 +1 @@
|
||||||
trash-empty.svg
|
window-close.svg
|
||||||
|
|
@ -181,6 +181,20 @@ require_line "$theme_dir/index.theme" '^\[apps/scalable\]$' \
|
||||||
"org.shift.icons index.theme is missing [apps/scalable]"
|
"org.shift.icons index.theme is missing [apps/scalable]"
|
||||||
require_line "$theme_dir/index.theme" '^\[preferences/scalable\]$' \
|
require_line "$theme_dir/index.theme" '^\[preferences/scalable\]$' \
|
||||||
"org.shift.icons index.theme is missing [preferences/scalable]"
|
"org.shift.icons index.theme is missing [preferences/scalable]"
|
||||||
|
|
||||||
|
[[ "$(readlink "$theme_dir/actions/symbolic/delete.svg")" == "window-close.svg" ]] \
|
||||||
|
|| fail "delete must resolve to the X close glyph for KWin Overview's virtual desktop delete button"
|
||||||
|
[[ "$(readlink "$theme_dir/actions/symbolic/delete-symbolic.svg")" == "window-close-symbolic.svg" ]] \
|
||||||
|
|| fail "delete-symbolic must resolve to the symbolic X close glyph for KWin Overview's virtual desktop delete button"
|
||||||
|
[[ "$(readlink "$theme_dir/actions/symbolic/edit-delete.svg")" == "window-close.svg" ]] \
|
||||||
|
|| fail "edit-delete must resolve to the X close glyph for KWin Overview's virtual desktop delete button"
|
||||||
|
[[ "$(readlink "$theme_dir/actions/symbolic/edit-delete-symbolic.svg")" == "window-close-symbolic.svg" ]] \
|
||||||
|
|| fail "edit-delete-symbolic must resolve to the symbolic X close glyph for KWin Overview's virtual desktop delete button"
|
||||||
|
[[ "$(readlink "$theme_dir/actions/symbolic/edit-delete-remove.svg")" == "window-close.svg" ]] \
|
||||||
|
|| fail "edit-delete-remove must resolve to the X close glyph for KWin Overview's virtual desktop delete button"
|
||||||
|
[[ "$(readlink "$theme_dir/actions/symbolic/edit-delete-remove-symbolic.svg")" == "window-close-symbolic.svg" ]] \
|
||||||
|
|| fail "edit-delete-remove-symbolic must resolve to the symbolic X close glyph for KWin Overview's virtual desktop delete button"
|
||||||
|
|
||||||
check_systemsettings_category_icons
|
check_systemsettings_category_icons
|
||||||
check_systemsettings_module_icons
|
check_systemsettings_module_icons
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue