[gtk] Drop unused old icons
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Drop unused old icons
- Date: Fri, 20 Jul 2018 12:08:41 +0000 (UTC)
commit 806c659efe3a8f2ebc4a5201f7152636edf3bb49
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 20 06:53:08 2018 -0400
Drop unused old icons
We don't need to ship the deprecated old stock-id named
icons and the drag cursors - we don't use them from resources
anyway.
gtk/cursor/dnd-ask.png | Bin 201 -> 0 bytes
gtk/cursor/dnd-copy.png | Bin 183 -> 0 bytes
gtk/cursor/dnd-link.png | Bin 216 -> 0 bytes
gtk/cursor/dnd-move.png | Bin 197 -> 0 bytes
gtk/cursor/dnd-none.png | Bin 144 -> 0 bytes
gtk/gen-gtk-gresources-xml.py | 12 ----------
gtk/icons/16x16/actions/gtk-caps-lock-warning.png | Bin 275 -> 0 bytes
gtk/icons/16x16/actions/gtk-color-picker.png | Bin 606 -> 0 bytes
gtk/icons/16x16/actions/gtk-connect.png | Bin 692 -> 0 bytes
gtk/icons/16x16/actions/gtk-convert.png | Bin 677 -> 0 bytes
gtk/icons/16x16/actions/gtk-disconnect.png | Bin 715 -> 0 bytes
gtk/icons/16x16/actions/gtk-edit.png | Bin 755 -> 0 bytes
gtk/icons/16x16/actions/gtk-index.png | Bin 753 -> 0 bytes
.../16x16/actions/gtk-orientation-landscape.png | Bin 756 -> 0 bytes
.../16x16/actions/gtk-orientation-portrait.png | Bin 543 -> 0 bytes
.../actions/gtk-orientation-reverse-landscape.png | Bin 751 -> 0 bytes
.../actions/gtk-orientation-reverse-portrait.png | Bin 557 -> 0 bytes
gtk/icons/16x16/actions/gtk-page-setup.png | Bin 622 -> 0 bytes
gtk/icons/16x16/actions/gtk-preferences.png | Bin 1014 -> 0 bytes
gtk/icons/16x16/actions/gtk-select-color.png | Bin 735 -> 0 bytes
gtk/icons/16x16/actions/gtk-select-font.png | Bin 706 -> 0 bytes
gtk/icons/16x16/actions/gtk-undelete-rtl.png | Bin 952 -> 0 bytes
gtk/icons/16x16/actions/gtk-undelete.png | Bin 962 -> 0 bytes
gtk/icons/16x16/status/image-missing.png | Bin 576 -> 0 bytes
gtk/icons/22x22/actions/gtk-apply.png | Bin 1002 -> 0 bytes
gtk/icons/22x22/actions/gtk-cancel.png | Bin 1067 -> 0 bytes
gtk/icons/22x22/actions/gtk-no.png | Bin 952 -> 0 bytes
gtk/icons/22x22/actions/gtk-ok.png | Bin 963 -> 0 bytes
gtk/icons/22x22/actions/gtk-yes.png | Bin 1044 -> 0 bytes
gtk/icons/24x24/actions/gtk-caps-lock-warning.png | Bin 360 -> 0 bytes
gtk/icons/24x24/actions/gtk-color-picker.png | Bin 891 -> 0 bytes
gtk/icons/24x24/actions/gtk-connect.png | Bin 946 -> 0 bytes
gtk/icons/24x24/actions/gtk-convert.png | Bin 1413 -> 0 bytes
gtk/icons/24x24/actions/gtk-disconnect.png | Bin 852 -> 0 bytes
gtk/icons/24x24/actions/gtk-edit.png | Bin 1120 -> 0 bytes
gtk/icons/24x24/actions/gtk-index.png | Bin 960 -> 0 bytes
.../24x24/actions/gtk-orientation-landscape.png | Bin 1097 -> 0 bytes
.../24x24/actions/gtk-orientation-portrait.png | Bin 931 -> 0 bytes
.../actions/gtk-orientation-reverse-landscape.png | Bin 1059 -> 0 bytes
.../actions/gtk-orientation-reverse-portrait.png | Bin 940 -> 0 bytes
gtk/icons/24x24/actions/gtk-page-setup.png | Bin 1081 -> 0 bytes
gtk/icons/24x24/actions/gtk-preferences.png | Bin 1691 -> 0 bytes
gtk/icons/24x24/actions/gtk-select-color.png | Bin 993 -> 0 bytes
gtk/icons/24x24/actions/gtk-select-font.png | Bin 1109 -> 0 bytes
gtk/icons/24x24/actions/gtk-undelete-rtl.png | Bin 1722 -> 0 bytes
gtk/icons/24x24/actions/gtk-undelete.png | Bin 1692 -> 0 bytes
gtk/icons/24x24/status/image-missing.png | Bin 877 -> 0 bytes
gtk/icons/32x32/actions/gtk-dnd-multiple.png | Bin 1215 -> 0 bytes
gtk/icons/32x32/actions/gtk-dnd.png | Bin 1349 -> 0 bytes
gtk/icons/32x32/status/image-missing.png | Bin 1039 -> 0 bytes
gtk/icons/48x48/status/image-missing.png | Bin 1728 -> 0 bytes
testsuite/gtk/check-icon-names.c | 26 ---------------------
52 files changed, 38 deletions(-)
---
diff --git a/gtk/gen-gtk-gresources-xml.py b/gtk/gen-gtk-gresources-xml.py
index aca3ad8ce7..10478e4c76 100644
--- a/gtk/gen-gtk-gresources-xml.py
+++ b/gtk/gen-gtk-gresources-xml.py
@@ -51,11 +51,6 @@ xml += '''
<file>theme/win32/gtk.css</file>
'''
-for f in get_files('cursor', '.png'):
- xml += ' <file>cursor/{0}</file>\n'.format(f)
-
-xml += '\n'
-
for f in get_files('gesture', '.symbolic.png'):
xml += ' <file alias=\'icons/64x64/actions/{0}\'>gesture/{0}</file>\n'.format(f)
@@ -66,13 +61,6 @@ for f in get_files('ui', '.ui'):
xml += '\n'
-for s in ['16x16', '22x22', '24x24', '32x32', '48x48']:
- for c in ['actions', 'status']:
- icons_dir = 'icons/{0}/{1}'.format(s,c)
- if os.path.exists(os.path.join(srcdir,icons_dir)):
- for f in get_files(icons_dir, '.png'):
- xml += ' <file>icons/{0}/{1}/{2}</file>\n'.format(s,c,f)
-
for f in get_files('inspector', '.ui'):
xml += ' <file preprocess=\'xml-stripblanks\'>inspector/{0}</file>\n'.format(f)
diff --git a/testsuite/gtk/check-icon-names.c b/testsuite/gtk/check-icon-names.c
index f962f614de..dbcd9509c2 100644
--- a/testsuite/gtk/check-icon-names.c
+++ b/testsuite/gtk/check-icon-names.c
@@ -7,13 +7,6 @@ static char *icon_names[] = {
"dialog-information",
"dialog-question",
"dialog-warning",
- "gtk-dnd", /* internal icon */
- "gtk-dnd-multiple", /* internal icon */
- "gtk-apply", /* deprecated stock id */
- "gtk-cancel", /* deprecated stock id */
- "gtk-no", /* deprecated stock id */
- "gtk-ok", /* deprecated stock id */
- "gtk-yes", /* deprecated stock id */
"window-close",
"list-add",
"format-justify-center",
@@ -22,14 +15,12 @@ static char *icon_names[] = {
"format-justify-right",
"go-bottom",
"media-optical",
- "gtk-convert", /* deprecated stock id */
"edit-copy",
"edit-cut",
"go-down",
"system-run",
"application-exit",
"go-first",
- "gtk-select-font", /* deprecated stock id */
"view-fullscreen",
"view-restore",
"drive-harddisk",
@@ -42,19 +33,10 @@ static char *icon_names[] = {
"network-idle",
"document-new",
"document-open",
- "gtk-orientation-portrait", /* internal icon */
- "gtk-orientation-landscape", /* internal icon */
- "gtk-orientation-reverse-portrait", /* internal icon */
- "gtk-orientation-reverse-landscape", /* internal icon */
- "gtk-page-setup", /* internal icon */
"edit-paste",
- "gtk-preferences", /* deprecated stock id */
"document-print",
"document-print-preview",
"printer-error",
- /* "printer-paused", */
- /* "printer-info", */
- /* "printer-warning", */
"document-properties",
"edit-redo",
"list-remove",
@@ -78,16 +60,11 @@ static char *icon_names[] = {
"format-indent-less",
"go-top",
"edit-delete",
- "gtk-undelete", /* deprecated stock id */
"edit-undo",
"go-up",
"text-x-generic",
"folder",
"help-about",
- "gtk-connect", /* deprecated stock id */
- "gtk-disconnect", /* deprecated stock id */
- "gtk-edit", /* deprecated stock id */
- "gtk-caps-lock-warning", /* internal icon */
"media-seek-forward",
"media-skip-forward",
"media-playback-pause",
@@ -96,15 +73,12 @@ static char *icon_names[] = {
"media-record",
"media-seek-backward",
"media-playback-stop",
- "gtk-index", /* deprecated stock id */
"zoom-original",
"zoom-in",
"zoom-out",
"zoom-fit-best",
"edit-select-all",
"edit-clear",
- "gtk-select-color", /* deprecated stock id */
- "gtk-color-picker", /* deprecated stock id */
/*** Icons used in code or templates, sorted alphabetically ***/
"audio-volume-high",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]