[TASK] Replace icon with SVG: actions-document-duplicates-select 61/43361/2
authorBenjamin Kott <benjamin.kott@outlook.com>
Tue, 15 Sep 2015 20:35:41 +0000 (22:35 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 15 Sep 2015 21:45:38 +0000 (23:45 +0200)
Resolves: #69859
Releases: master
Change-Id: I3acd7adb5664151b4d104911b96e5c9057acb4f6
Reviewed-on: http://review.typo3.org/43361
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Build/Gruntfile.js
Build/Resources/Private/Icons/Action/actions-document-duplicates-select.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-duplicates-select.svg [new file with mode: 0644]
typo3/sysext/core/Classes/Imaging/IconRegistry.php

index afee4b0..76dc92d 100644 (file)
@@ -130,6 +130,7 @@ module.exports = function(grunt) {
                        // Action Icons
                        icons_action: {
                                files: {
+                                       '<%= paths.backend %>Public/Icons/Action/actions-document-duplicates-select.svg': '<%= paths.icons %>Action/actions-document-duplicates-select.svg',
                                        '<%= paths.backend %>Public/Icons/Action/actions-document-paste-after.svg': '<%= paths.icons %>Action/actions-document-paste-after.svg',
                                        '<%= paths.backend %>Public/Icons/Action/actions-document-paste-before.svg': '<%= paths.icons %>Action/actions-document-paste-before.svg',
                                        '<%= paths.backend %>Public/Icons/Action/actions-document-paste-into.svg': '<%= paths.icons %>Action/actions-document-paste-into.svg',
diff --git a/Build/Resources/Private/Icons/Action/actions-document-duplicates-select.svg b/Build/Resources/Private/Icons/Action/actions-document-duplicates-select.svg
new file mode 100644 (file)
index 0000000..b53b75e
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.1" id="actions-document-duplicates-select"
+        xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-471 273 16 16"
+        enable-background="new -471 273 16 16" xml:space="preserve">
+<path d="M-456,277h-3v-3h-11v11h3v3h11V277z M-469,284v-9h9v2h-7v7H-469z M-457,287h-9v-2v-1v-6h6h1h2V287z"/>
+<path d="M-460,285h-3v-0.68c0.21-0.2,0.42-0.39,0.63-0.59c0.21-0.2,0.4-0.39,0.58-0.59c0.38-0.41,0.64-0.73,0.78-0.98
+       c0.14-0.24,0.21-0.5,0.21-0.77c0-0.26-0.07-0.45-0.22-0.6c-0.15-0.14-0.37-0.22-0.64-0.22c-0.18,0-0.38,0.03-0.58,0.11
+       c-0.21,0.07-0.42,0.18-0.62,0.33h-0.03v-0.69c0.14-0.07,0.33-0.15,0.56-0.22c0.23-0.07,0.47-0.09,0.68-0.09
+       c0.46,0,0.81,0.13,1.06,0.37c0.26,0.24,0.39,0.57,0.39,0.98c0,0.18-0.02,0.36-0.07,0.52c-0.04,0.16-0.1,0.32-0.19,0.46
+       c-0.07,0.13-0.17,0.27-0.27,0.4c-0.11,0.13-0.23,0.27-0.38,0.44c-0.21,0.23-0.43,0.45-0.66,0.67c-0.23,0.22-0.43,0.42-0.64,0.6h2.39
+       V285z"/>
+</svg>
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-duplicates-select.svg b/typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-duplicates-select.svg
new file mode 100644 (file)
index 0000000..b00fe61
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="-471 273 16 16"><path d="M-456 277h-3v-3h-11v11h3v3h11v-11zm-13 7v-9h9v2h-7v7h-2zm12 3h-9v-9h9v9z"/><path d="M-460 285h-3v-.68c.21-.2.42-.39.63-.59.21-.2.4-.39.58-.59.38-.41.64-.73.78-.98.14-.24.21-.5.21-.77 0-.26-.07-.45-.22-.6-.15-.14-.37-.22-.64-.22-.18 0-.38.03-.58.11-.21.07-.42.18-.62.33h-.03v-.69c.14-.07.33-.15.56-.22.23-.07.47-.09.68-.09.46 0 .81.13 1.06.37.26.24.39.57.39.98 0 .18-.02.36-.07.52-.04.16-.1.32-.19.46-.07.13-.17.27-.27.4-.11.13-.23.27-.38.44-.21.23-.43.45-.66.67-.23.22-.43.42-.64.6h2.39v.55z"/></svg>
\ No newline at end of file
index 6e6ae71..1ef2a6d 100644 (file)
@@ -145,10 +145,10 @@ class IconRegistry implements \TYPO3\CMS\Core\SingletonInterface {
                                'name' => 'close',
                        )
                ),
-               'actions-actions-document-duplicates-select' => array(
-                       'provider' => BitmapIconProvider::class,
+               'actions-document-duplicates-select' => array(
+                       'provider' => SvgIconProvider::class,
                        'options' => array(
-                               'source' => 'EXT:t3skin/images/icons/actions/document-duplicates-select.png',
+                               'source' => 'EXT:backend/Resources/Public/Icons/Action/actions-document-duplicates-select.svg',
                        )
                ),
                'actions-document-edit-access' => array(