[libhandy] demo: Move icons to conform to icon theme specification
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy] demo: Move icons to conform to icon theme specification
- Date: Mon, 14 Dec 2020 12:30:15 +0000 (UTC)
commit d62a10942ca9d605c7698d2ea76775868a7847ef
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Sep 30 20:30:06 2020 +0500
demo: Move icons to conform to icon theme specification
What we do right now will stop working in GTK4.
See https://gitlab.gnome.org/GNOME/gtk/-/commit/5fa765b28447797465b4e6b731fa799e834cc978
examples/handy-demo.gresources.xml | 32 +++++++++++-----------
.../gesture-touchpad-swipe-back-symbolic-rtl.svg | 0
.../gesture-touchpad-swipe-back-symbolic.svg | 0
...gesture-touchscreen-swipe-back-symbolic-rtl.svg | 0
.../gesture-touchscreen-swipe-back-symbolic.svg | 0
.../actions}/gnome-smartphone-symbolic.svg | 0
.../actions}/widget-carousel-symbolic.svg | 0
.../actions}/widget-clamp-symbolic.svg | 0
.../actions}/widget-deck-symbolic.svg | 0
.../actions}/widget-keypad-symbolic.svg | 0
.../actions}/widget-leaflet-symbolic.svg | 0
.../actions}/widget-list-symbolic.svg | 0
.../actions}/widget-search-symbolic.svg | 0
.../actions}/widget-view-switcher-symbolic.svg | 0
.../actions}/widget-window-symbolic.svg | 0
.../{ => scalable/status}/dark-mode-symbolic.svg | 0
.../{ => scalable/status}/light-mode-symbolic.svg | 0
src/handy.gresources.xml | 4 +--
.../actions}/hdy-expander-arrow-symbolic.svg | 0
.../status}/avatar-default-symbolic.svg | 0
20 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/examples/handy-demo.gresources.xml b/examples/handy-demo.gresources.xml
index e0825c1d..59fc5a5e 100644
--- a/examples/handy-demo.gresources.xml
+++ b/examples/handy-demo.gresources.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/sm/puri/Handy/Demo">
- <file preprocess="xml-stripblanks">icons/dark-mode-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/gesture-touchscreen-swipe-back-symbolic-rtl.svg</file>
- <file preprocess="xml-stripblanks">icons/gesture-touchscreen-swipe-back-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/gesture-touchpad-swipe-back-symbolic-rtl.svg</file>
- <file preprocess="xml-stripblanks">icons/gesture-touchpad-swipe-back-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/gnome-smartphone-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/light-mode-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/widget-carousel-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/widget-clamp-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/widget-deck-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/widget-keypad-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/widget-leaflet-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/widget-list-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/widget-search-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/widget-view-switcher-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/widget-window-symbolic.svg</file>
+ <file
preprocess="xml-stripblanks">icons/scalable/actions/gesture-touchscreen-swipe-back-symbolic-rtl.svg</file>
+ <file
preprocess="xml-stripblanks">icons/scalable/actions/gesture-touchscreen-swipe-back-symbolic.svg</file>
+ <file
preprocess="xml-stripblanks">icons/scalable/actions/gesture-touchpad-swipe-back-symbolic-rtl.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/gesture-touchpad-swipe-back-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/gnome-smartphone-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/widget-carousel-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/widget-clamp-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/widget-deck-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/widget-keypad-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/widget-leaflet-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/widget-list-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/widget-search-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/widget-view-switcher-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/widget-window-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/status/dark-mode-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/status/light-mode-symbolic.svg</file>
</gresource>
<gresource prefix="/sm/puri/Handy/Demo/ui">
<file preprocess="xml-stripblanks">hdy-demo-preferences-window.ui</file>
diff --git a/examples/icons/gesture-touchpad-swipe-back-symbolic-rtl.svg
b/examples/icons/scalable/actions/gesture-touchpad-swipe-back-symbolic-rtl.svg
similarity index 100%
rename from examples/icons/gesture-touchpad-swipe-back-symbolic-rtl.svg
rename to examples/icons/scalable/actions/gesture-touchpad-swipe-back-symbolic-rtl.svg
diff --git a/examples/icons/gesture-touchpad-swipe-back-symbolic.svg
b/examples/icons/scalable/actions/gesture-touchpad-swipe-back-symbolic.svg
similarity index 100%
rename from examples/icons/gesture-touchpad-swipe-back-symbolic.svg
rename to examples/icons/scalable/actions/gesture-touchpad-swipe-back-symbolic.svg
diff --git a/examples/icons/gesture-touchscreen-swipe-back-symbolic-rtl.svg
b/examples/icons/scalable/actions/gesture-touchscreen-swipe-back-symbolic-rtl.svg
similarity index 100%
rename from examples/icons/gesture-touchscreen-swipe-back-symbolic-rtl.svg
rename to examples/icons/scalable/actions/gesture-touchscreen-swipe-back-symbolic-rtl.svg
diff --git a/examples/icons/gesture-touchscreen-swipe-back-symbolic.svg
b/examples/icons/scalable/actions/gesture-touchscreen-swipe-back-symbolic.svg
similarity index 100%
rename from examples/icons/gesture-touchscreen-swipe-back-symbolic.svg
rename to examples/icons/scalable/actions/gesture-touchscreen-swipe-back-symbolic.svg
diff --git a/examples/icons/gnome-smartphone-symbolic.svg
b/examples/icons/scalable/actions/gnome-smartphone-symbolic.svg
similarity index 100%
rename from examples/icons/gnome-smartphone-symbolic.svg
rename to examples/icons/scalable/actions/gnome-smartphone-symbolic.svg
diff --git a/examples/icons/widget-carousel-symbolic.svg
b/examples/icons/scalable/actions/widget-carousel-symbolic.svg
similarity index 100%
rename from examples/icons/widget-carousel-symbolic.svg
rename to examples/icons/scalable/actions/widget-carousel-symbolic.svg
diff --git a/examples/icons/widget-clamp-symbolic.svg
b/examples/icons/scalable/actions/widget-clamp-symbolic.svg
similarity index 100%
rename from examples/icons/widget-clamp-symbolic.svg
rename to examples/icons/scalable/actions/widget-clamp-symbolic.svg
diff --git a/examples/icons/widget-deck-symbolic.svg
b/examples/icons/scalable/actions/widget-deck-symbolic.svg
similarity index 100%
rename from examples/icons/widget-deck-symbolic.svg
rename to examples/icons/scalable/actions/widget-deck-symbolic.svg
diff --git a/examples/icons/widget-keypad-symbolic.svg
b/examples/icons/scalable/actions/widget-keypad-symbolic.svg
similarity index 100%
rename from examples/icons/widget-keypad-symbolic.svg
rename to examples/icons/scalable/actions/widget-keypad-symbolic.svg
diff --git a/examples/icons/widget-leaflet-symbolic.svg
b/examples/icons/scalable/actions/widget-leaflet-symbolic.svg
similarity index 100%
rename from examples/icons/widget-leaflet-symbolic.svg
rename to examples/icons/scalable/actions/widget-leaflet-symbolic.svg
diff --git a/examples/icons/widget-list-symbolic.svg
b/examples/icons/scalable/actions/widget-list-symbolic.svg
similarity index 100%
rename from examples/icons/widget-list-symbolic.svg
rename to examples/icons/scalable/actions/widget-list-symbolic.svg
diff --git a/examples/icons/widget-search-symbolic.svg
b/examples/icons/scalable/actions/widget-search-symbolic.svg
similarity index 100%
rename from examples/icons/widget-search-symbolic.svg
rename to examples/icons/scalable/actions/widget-search-symbolic.svg
diff --git a/examples/icons/widget-view-switcher-symbolic.svg
b/examples/icons/scalable/actions/widget-view-switcher-symbolic.svg
similarity index 100%
rename from examples/icons/widget-view-switcher-symbolic.svg
rename to examples/icons/scalable/actions/widget-view-switcher-symbolic.svg
diff --git a/examples/icons/widget-window-symbolic.svg
b/examples/icons/scalable/actions/widget-window-symbolic.svg
similarity index 100%
rename from examples/icons/widget-window-symbolic.svg
rename to examples/icons/scalable/actions/widget-window-symbolic.svg
diff --git a/examples/icons/dark-mode-symbolic.svg b/examples/icons/scalable/status/dark-mode-symbolic.svg
similarity index 100%
rename from examples/icons/dark-mode-symbolic.svg
rename to examples/icons/scalable/status/dark-mode-symbolic.svg
diff --git a/examples/icons/light-mode-symbolic.svg b/examples/icons/scalable/status/light-mode-symbolic.svg
similarity index 100%
rename from examples/icons/light-mode-symbolic.svg
rename to examples/icons/scalable/status/light-mode-symbolic.svg
diff --git a/src/handy.gresources.xml b/src/handy.gresources.xml
index b96444b5..cb19228c 100644
--- a/src/handy.gresources.xml
+++ b/src/handy.gresources.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/sm/puri/handy">
- <file preprocess="xml-stripblanks">icons/avatar-default-symbolic.svg</file>
- <file preprocess="xml-stripblanks">icons/hdy-expander-arrow-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/actions/hdy-expander-arrow-symbolic.svg</file>
+ <file preprocess="xml-stripblanks">icons/scalable/status/avatar-default-symbolic.svg</file>
<file compressed="true">themes/Adwaita.css</file>
<file compressed="true">themes/Adwaita-dark.css</file>
<file compressed="true">themes/fallback.css</file>
diff --git a/src/icons/hdy-expander-arrow-symbolic.svg
b/src/icons/scalable/actions/hdy-expander-arrow-symbolic.svg
similarity index 100%
rename from src/icons/hdy-expander-arrow-symbolic.svg
rename to src/icons/scalable/actions/hdy-expander-arrow-symbolic.svg
diff --git a/src/icons/avatar-default-symbolic.svg b/src/icons/scalable/status/avatar-default-symbolic.svg
similarity index 100%
rename from src/icons/avatar-default-symbolic.svg
rename to src/icons/scalable/status/avatar-default-symbolic.svg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]