[gimp/icons-wip] icons: Bug 759904



commit 8577d3f04382ae75b639f1d9e83af85273be7ed3
Author: klausstaedtler <staedtler-przyborski web de>
Date:   Thu Jun 23 19:59:54 2016 +0200

    icons: Bug 759904
    
    add
    gimp-undo
    gimp-redo
    
    patch: replace "edit-undo" by "gimp-undo" (or GIMP_STOCK_UNDO)
    
    gimp/plug-ins/ifs-compose/ifs-compose.c:    { "undo", "edit-undo",
    gimp/app/actions/edit-actions.c:    "edit-undo", NC_("edit-action", "Undo History Menu"), NULL, NULL, 
NULL,
    gimp/app/actions/edit-actions.c:  { "edit-undo", "edit-undo",
    gimp/app/actions/edit-actions.c:  { "edit-strong-undo", "edit-undo",
    gimp/app/actions/edit-actions.c:  { "edit-fade", "edit-undo",
    gimp/app/actions/edit-actions.c:  SET_LABEL ("edit-undo", undo_name ? undo_name : _("_Undo"));
    gimp/app/actions/edit-actions.c:  SET_SENSITIVE ("edit-undo",        undo_enabled && undo_name);
    gimp/app/widgets/gimpundoeditor.c:                                   "edit-undo", NULL);
    gimp/gimp/app/widgets/gimpundoeditor.c:                                   "edit-undo-clear", NULL);
    gimp/gimp/app/core/gimpundo.c:  viewable_class->default_icon_name = "edit-undo";
    gimp/gimp/app/dialogs/fade-dialog.c:                                     "edit-undo", title,
    
    patch: replace "edit-redo" by "gimp-redo" (or GIMP_STOCK_REDO)
    
    gimp/plug-ins/ifs-compose/ifs-compose.c:    { "redo", "edit-redo",
    gimp/app/actions/edit-actions.c:  { "edit-redo", "edit-redo",
    gimp/app/actions/edit-actions.c:  { "edit-strong-redo", "edit-redo",
    gimp/app/actions/edit-actions.c:  SET_LABEL ("edit-redo", redo_name ? redo_name : _("_Redo"));
    gimp/app/actions/edit-actions.c:  SET_SENSITIVE ("edit-redo",        undo_enabled && redo_name);
    gimp/app/widgets/gimpundoeditor.c:                                   "edit-redo", NULL);

 app/actions/edit-actions.c                   |   10 +-
 app/core/gimpundo.c                          |    2 +-
 app/dialogs/fade-dialog.c                    |    2 +-
 app/widgets/gimpundoeditor.c                 |    4 +-
 icons/Color/16/gimp-redo.png                 |  Bin 0 -> 522 bytes
 icons/Color/16/gimp-undo.png                 |  Bin 0 -> 533 bytes
 icons/Color/scalable/gimp-redo.svg           |  104 +++++++++++++++++++++++++
 icons/Color/scalable/gimp-undo.svg           |  104 +++++++++++++++++++++++++
 icons/Prototype/Color/16/gimp-restore.png    |  Bin 642 -> 0 bytes
 icons/Prototype/Color/16/gimp-revoke.png     |  Bin 646 -> 0 bytes
 icons/Prototype/Symbolic/16/gimp-restore.png |  Bin 578 -> 0 bytes
 icons/Prototype/Symbolic/16/gimp-revoke.png  |  Bin 573 -> 0 bytes
 icons/Symbolic/16/gimp-redo.png              |  Bin 0 -> 369 bytes
 icons/Symbolic/16/gimp-undo.png              |  Bin 0 -> 378 bytes
 icons/Symbolic/scalable/gimp-redo.svg        |  107 ++++++++++++++++++++++++++
 icons/Symbolic/scalable/gimp-undo.svg        |  106 +++++++++++++++++++++++++
 icons/icon-list.mk                           |    4 +
 libgimpwidgets/gimpicons.c                   |    2 +
 libgimpwidgets/gimpicons.h                   |    2 +
 plug-ins/ifs-compose/ifs-compose.c           |    4 +-
 20 files changed, 440 insertions(+), 11 deletions(-)
---
diff --git a/app/actions/edit-actions.c b/app/actions/edit-actions.c
index b3f8a76..5ac5a1f 100644
--- a/app/actions/edit-actions.c
+++ b/app/actions/edit-actions.c
@@ -70,25 +70,25 @@ static const GimpActionEntry edit_actions[] =
     "edit-undo", NC_("edit-action", "Undo History Menu"), NULL, NULL, NULL,
     GIMP_HELP_UNDO_DIALOG },
 
-  { "edit-undo", "edit-undo",
+  { "edit-undo", GIMP_STOCK_UNDO,
     NC_("edit-action", "_Undo"), "<primary>Z",
     NC_("edit-action", "Undo the last operation"),
     G_CALLBACK (edit_undo_cmd_callback),
     GIMP_HELP_EDIT_UNDO },
 
-  { "edit-redo", "edit-redo",
+  { "edit-redo", GIMP_STOCK_REDO,
     NC_("edit-action", "_Redo"), "<primary>Y",
     NC_("edit-action", "Redo the last operation that was undone"),
     G_CALLBACK (edit_redo_cmd_callback),
     GIMP_HELP_EDIT_REDO },
 
-  { "edit-strong-undo", "edit-undo",
+  { "edit-strong-undo", GIMP_STOCK_UNDO,
     NC_("edit-action", "Strong Undo"), "<primary><shift>Z",
     NC_("edit-action", "Undo the last operation, skipping visibility changes"),
     G_CALLBACK (edit_strong_undo_cmd_callback),
     GIMP_HELP_EDIT_STRONG_UNDO },
 
-  { "edit-strong-redo", "edit-redo",
+  { "edit-strong-redo", GIMP_STOCK_REDO,
     NC_("edit-action", "Strong Redo"), "<primary><shift>Y",
     NC_("edit-action",
         "Redo the last operation that was undone, skipping visibility changes"),
@@ -101,7 +101,7 @@ static const GimpActionEntry edit_actions[] =
     G_CALLBACK (edit_undo_clear_cmd_callback),
     GIMP_HELP_EDIT_UNDO_CLEAR },
 
-  { "edit-fade", "edit-undo",
+  { "edit-fade", GIMP_STOCK_UNDO,
     NC_("edit-action", "_Fade..."), NULL,
     NC_("edit-action",
         "Modify paint mode and opacity of the last pixel manipulation"),
diff --git a/app/core/gimpundo.c b/app/core/gimpundo.c
index ef14b5d..d30e9ea 100644
--- a/app/core/gimpundo.c
+++ b/app/core/gimpundo.c
@@ -137,7 +137,7 @@ gimp_undo_class_init (GimpUndoClass *klass)
 
   gimp_object_class->get_memsize    = gimp_undo_get_memsize;
 
-  viewable_class->default_icon_name = "edit-undo";
+  viewable_class->default_icon_name = "gimp-undo";
   viewable_class->get_popup_size    = gimp_undo_get_popup_size;
   viewable_class->get_new_preview   = gimp_undo_get_new_preview;
 
diff --git a/app/dialogs/fade-dialog.c b/app/dialogs/fade-dialog.c
index 455fac4..4cbb2ff 100644
--- a/app/dialogs/fade-dialog.c
+++ b/app/dialogs/fade-dialog.c
@@ -112,7 +112,7 @@ fade_dialog_new (GimpImage *image,
   dialog = gimp_viewable_dialog_new (GIMP_VIEWABLE (drawable),
                                      private->context,
                                      title, "gimp-edit-fade",
-                                     "edit-undo", title,
+                                     GIMP_STOCK_UNDO, title,
                                      parent,
                                      gimp_standard_help_func,
                                      GIMP_HELP_EDIT_FADE,
diff --git a/app/widgets/gimpundoeditor.c b/app/widgets/gimpundoeditor.c
index 4acdea0..5a8dd61 100644
--- a/app/widgets/gimpundoeditor.c
+++ b/app/widgets/gimpundoeditor.c
@@ -143,11 +143,11 @@ gimp_undo_editor_constructed (GObject *object)
 
   undo_editor->undo_button =
     gimp_editor_add_action_button (GIMP_EDITOR (undo_editor), "edit",
-                                   "edit-undo", NULL);
+                                   GIMP_STOCK_UNDO, NULL);
 
   undo_editor->redo_button =
     gimp_editor_add_action_button (GIMP_EDITOR (undo_editor), "edit",
-                                   "edit-redo", NULL);
+                                   GIMP_STOCK_REDO, NULL);
 
   undo_editor->clear_button =
     gimp_editor_add_action_button (GIMP_EDITOR (undo_editor), "edit",
diff --git a/icons/Color/16/gimp-redo.png b/icons/Color/16/gimp-redo.png
new file mode 100644
index 0000000..797e04e
Binary files /dev/null and b/icons/Color/16/gimp-redo.png differ
diff --git a/icons/Color/16/gimp-undo.png b/icons/Color/16/gimp-undo.png
new file mode 100644
index 0000000..8db5a87
Binary files /dev/null and b/icons/Color/16/gimp-undo.png differ
diff --git a/icons/Color/scalable/gimp-redo.svg b/icons/Color/scalable/gimp-redo.svg
new file mode 100644
index 0000000..f09f6d1
--- /dev/null
+++ b/icons/Color/scalable/gimp-redo.svg
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="16"
+   height="16"
+   viewBox="0 0 16 16"
+   id="svg30571"
+   version="1.1"
+   inkscape:version="0.92pre1 unknown"
+   sodipodi:docname="gimp-redo.svg">
+  <defs
+     id="defs30573" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="12.745036"
+     inkscape:cx="8.6432433"
+     inkscape:cy="18.930591"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     units="px"
+     inkscape:snap-page="true"
+     inkscape:snap-bbox="true"
+     inkscape:bbox-paths="true"
+     inkscape:bbox-nodes="true"
+     inkscape:snap-bbox-edge-midpoints="true"
+     inkscape:snap-bbox-midpoints="true"
+     inkscape:object-paths="true"
+     inkscape:snap-intersection-paths="true"
+     inkscape:object-nodes="true"
+     inkscape:snap-smooth-nodes="true"
+     inkscape:snap-midpoints="true"
+     inkscape:snap-object-midpoints="true"
+     inkscape:snap-center="true"
+     inkscape:snap-text-baseline="true"
+     showborder="false"
+     inkscape:window-width="1920"
+     inkscape:window-height="1016"
+     inkscape:window-x="0"
+     inkscape:window-y="27"
+     inkscape:window-maximized="1"
+     inkscape:snap-global="false">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4233" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata30576">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>
+          image/svg+xml
+        </dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Klaus Staedtler       </dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1036.3622)">
+    <g
+       id="g3945"
+       transform="matrix(0.98507463,0,0,0.98507463,6.07819e-8,15.706899)">
+      <g
+         transform="matrix(1.0441545,0,0,1.0265667,-331.66921,-100.05532)"
+         id="edit-redo">
+        <path
+           
style="color:#000000;fill:#f57900;fill-opacity:1;stroke:#ce5c00;stroke-width:0.50757575;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="m 327.86927,1109.3621 v 2.9998 h -5.50006 c -1.9212,0 -3.4995,1.5785 -3.4995,3.4995 v 0.4996 
0.5017 c 0,1.921 1.5783,3.4995 3.4995,3.4995 h 0.49964 v -2.0006 h -0.49964 c -0.8403,0 -1.50092,-0.6579 
-1.50092,-1.4989 v -0.5017 -0.4996 c 0,-0.84 0.66062,-1.4989 1.50092,-1.4989 h 5.50006 v 2.9998 l 
3.99914,-4.0011 z"
+           id="path37652"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccsscssccsscsscccc" />
+      </g>
+      <rect
+         y="1036.1198"
+         x="5.8905247e-08"
+         height="16.242424"
+         width="16.242424"
+         id="rect3999"
+         
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.49219468;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
 />
+    </g>
+  </g>
+</svg>
diff --git a/icons/Color/scalable/gimp-undo.svg b/icons/Color/scalable/gimp-undo.svg
new file mode 100644
index 0000000..ec7c358
--- /dev/null
+++ b/icons/Color/scalable/gimp-undo.svg
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="16"
+   height="16"
+   viewBox="0 0 16 16"
+   id="svg30571"
+   version="1.1"
+   inkscape:version="0.92pre1 unknown"
+   sodipodi:docname="gimp-undo.svg">
+  <defs
+     id="defs30573" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="12.745036"
+     inkscape:cx="8.6432433"
+     inkscape:cy="18.420588"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     units="px"
+     inkscape:snap-page="true"
+     inkscape:snap-bbox="true"
+     inkscape:bbox-paths="true"
+     inkscape:bbox-nodes="true"
+     inkscape:snap-bbox-edge-midpoints="true"
+     inkscape:snap-bbox-midpoints="true"
+     inkscape:object-paths="true"
+     inkscape:snap-intersection-paths="true"
+     inkscape:object-nodes="true"
+     inkscape:snap-smooth-nodes="true"
+     inkscape:snap-midpoints="true"
+     inkscape:snap-object-midpoints="true"
+     inkscape:snap-center="true"
+     inkscape:snap-text-baseline="true"
+     showborder="false"
+     inkscape:window-width="1920"
+     inkscape:window-height="1016"
+     inkscape:window-x="0"
+     inkscape:window-y="27"
+     inkscape:window-maximized="1"
+     inkscape:snap-global="false">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4233" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata30576">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>
+          image/svg+xml
+        </dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Klaus Staedtler       </dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1036.3622)">
+    <g
+       id="g3945"
+       transform="matrix(-0.98507463,0,0,0.98507463,16,15.706899)">
+      <g
+         transform="matrix(1.0441545,0,0,1.0265667,-331.66921,-100.05532)"
+         id="edit-redo">
+        <path
+           
style="color:#000000;fill:#f57900;fill-opacity:1;stroke:#ce5c00;stroke-width:0.50757575;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="m 327.86927,1109.3621 v 2.9998 h -5.50006 c -1.9212,0 -3.4995,1.5785 -3.4995,3.4995 v 0.4996 
0.5017 c 0,1.921 1.5783,3.4995 3.4995,3.4995 h 0.49964 v -2.0006 h -0.49964 c -0.8403,0 -1.50092,-0.6579 
-1.50092,-1.4989 v -0.5017 -0.4996 c 0,-0.84 0.66062,-1.4989 1.50092,-1.4989 h 5.50006 v 2.9998 l 
3.99914,-4.0011 z"
+           id="path37652"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccsscssccsscsscccc" />
+      </g>
+      <rect
+         y="1036.1198"
+         x="5.8905247e-08"
+         height="16.242424"
+         width="16.242424"
+         id="rect3999"
+         
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.49219468;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
 />
+    </g>
+  </g>
+</svg>
diff --git a/icons/Symbolic/16/gimp-redo.png b/icons/Symbolic/16/gimp-redo.png
new file mode 100644
index 0000000..1569a7e
Binary files /dev/null and b/icons/Symbolic/16/gimp-redo.png differ
diff --git a/icons/Symbolic/16/gimp-undo.png b/icons/Symbolic/16/gimp-undo.png
new file mode 100644
index 0000000..c46e0b7
Binary files /dev/null and b/icons/Symbolic/16/gimp-undo.png differ
diff --git a/icons/Symbolic/scalable/gimp-redo.svg b/icons/Symbolic/scalable/gimp-redo.svg
new file mode 100644
index 0000000..5a619f9
--- /dev/null
+++ b/icons/Symbolic/scalable/gimp-redo.svg
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="16"
+   height="16"
+   viewBox="0 0 16 16"
+   id="svg30571"
+   version="1.1"
+   inkscape:version="0.92pre1 unknown"
+   sodipodi:docname="gimp-redo.svg">
+  <defs
+     id="defs30573" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="18.024202"
+     inkscape:cx="19.988433"
+     inkscape:cy="7.9137147"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     units="px"
+     inkscape:snap-page="true"
+     inkscape:snap-bbox="true"
+     inkscape:bbox-paths="true"
+     inkscape:bbox-nodes="true"
+     inkscape:snap-bbox-edge-midpoints="true"
+     inkscape:snap-bbox-midpoints="true"
+     inkscape:object-paths="true"
+     inkscape:snap-intersection-paths="true"
+     inkscape:object-nodes="true"
+     inkscape:snap-smooth-nodes="true"
+     inkscape:snap-midpoints="true"
+     inkscape:snap-object-midpoints="true"
+     inkscape:snap-center="true"
+     inkscape:snap-text-baseline="true"
+     showborder="false"
+     inkscape:window-width="1920"
+     inkscape:window-height="1016"
+     inkscape:window-x="0"
+     inkscape:window-y="27"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4240" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata30576">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>
+          image/svg+xml
+        </dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Klaus Staedtler       </dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1036.3622)">
+    <g
+       id="g3945"
+       transform="matrix(-1,0,0,1,16,0)">
+      <g
+         transform="translate(-285,-70.999861)"
+         id="edit-undo">
+        <rect
+           style="fill:none"
+           id="rect10176"
+           width="16"
+           height="16"
+           x="285"
+           y="1107.3621" />
+        <path
+           inkscape:connector-curvature="0"
+           id="path15820"
+           d="m 286,1113.362 4,4 v -8 z"
+           style="color:#000000;fill:#bebebe;fill-opacity:1" />
+        <path
+           style="color:#000000;-inkscape-font-specification:Sans;fill:#bebebe;fill-opacity:1;stroke-width:2"
+           d="m 290,1112.362 v 2 h 5.5 c 0.8403,0 1.5,0.66 1.5,1.5 v 0.5 0.5 c 0,0.841 -0.6597,1.5 -1.5,1.5 
H 295 v 2 h 0.5 c 1.9212,0 3.5,-1.579 3.5,-3.5 v -0.5 -0.5 c 0,-1.921 -1.5788,-3.5 -3.5,-3.5 z"
+           id="path7283"
+           inkscape:connector-curvature="0" />
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/icons/Symbolic/scalable/gimp-undo.svg b/icons/Symbolic/scalable/gimp-undo.svg
new file mode 100644
index 0000000..2bd0ca3
--- /dev/null
+++ b/icons/Symbolic/scalable/gimp-undo.svg
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="16"
+   height="16"
+   viewBox="0 0 16 16"
+   id="svg30571"
+   version="1.1"
+   inkscape:version="0.92pre1 unknown"
+   sodipodi:docname="gimp-undo.svg">
+  <defs
+     id="defs30573" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="18.024202"
+     inkscape:cx="19.988433"
+     inkscape:cy="7.9137147"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     units="px"
+     inkscape:snap-page="true"
+     inkscape:snap-bbox="true"
+     inkscape:bbox-paths="true"
+     inkscape:bbox-nodes="true"
+     inkscape:snap-bbox-edge-midpoints="true"
+     inkscape:snap-bbox-midpoints="true"
+     inkscape:object-paths="true"
+     inkscape:snap-intersection-paths="true"
+     inkscape:object-nodes="true"
+     inkscape:snap-smooth-nodes="true"
+     inkscape:snap-midpoints="true"
+     inkscape:snap-object-midpoints="true"
+     inkscape:snap-center="true"
+     inkscape:snap-text-baseline="true"
+     showborder="false"
+     inkscape:window-width="1920"
+     inkscape:window-height="1016"
+     inkscape:window-x="0"
+     inkscape:window-y="27"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4240" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata30576">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>
+          image/svg+xml
+        </dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Klaus Staedtler       </dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1036.3622)">
+    <g
+       id="g3945">
+      <g
+         transform="translate(-285,-70.999861)"
+         id="edit-undo">
+        <rect
+           style="fill:none"
+           id="rect10176"
+           width="16"
+           height="16"
+           x="285"
+           y="1107.3621" />
+        <path
+           inkscape:connector-curvature="0"
+           id="path15820"
+           d="m 286,1113.362 4,4 v -8 z"
+           style="color:#000000;fill:#bebebe;fill-opacity:1" />
+        <path
+           style="color:#000000;-inkscape-font-specification:Sans;fill:#bebebe;fill-opacity:1;stroke-width:2"
+           d="m 290,1112.362 v 2 h 5.5 c 0.8403,0 1.5,0.66 1.5,1.5 v 0.5 0.5 c 0,0.841 -0.6597,1.5 -1.5,1.5 
H 295 v 2 h 0.5 c 1.9212,0 3.5,-1.579 3.5,-3.5 v -0.5 -0.5 c 0,-1.921 -1.5788,-3.5 -3.5,-3.5 z"
+           id="path7283"
+           inkscape:connector-curvature="0" />
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/icons/icon-list.mk b/icons/icon-list.mk
index 2a018d0..dd513dc 100644
--- a/icons/icon-list.mk
+++ b/icons/icon-list.mk
@@ -188,6 +188,7 @@ scalable_images = \
        scalable/gimp-quick-mask-off.svg                \
        scalable/gimp-quick-mask-on.svg                 \
        scalable/gimp-quit.svg                          \
+       scalable/gimp-redo.svg                          \
        scalable/gimp-reset.svg                         \
        scalable/gimp-reshow-filter.svg                 \
        scalable/gimp-resize.svg                        \
@@ -278,6 +279,7 @@ scalable_images = \
        scalable/gimp-top.svg                           \
        scalable/gimp-transparency.svg                  \
        scalable/gimp-unit-new.svg                      \
+       scalable/gimp-undo.svg                          \
        scalable/gimp-undo-history.svg                  \
        scalable/gimp-up.svg                            \
        scalable/gimp-user-manual.svg                   \
@@ -604,6 +606,7 @@ icons16_images = \
        16/gimp-print-resolution.png                    \
        16/gimp-question.png                            \
        16/gimp-quit.png                                \
+       16/gimp-redo.png                                \
        16/gimp-reset.png                               \
        16/gimp-reshow-filter.png                       \
        16/gimp-resize.png                              \
@@ -691,6 +694,7 @@ icons16_images = \
        16/gimp-top.png                                 \
        16/gimp-transparency.png                        \
        16/gimp-unit-new.png                            \
+       16/gimp-undo.png                                \
        16/gimp-undo-history.png                        \
        16/gimp-up.png                                  \
        16/gimp-user-manual.png                         \
diff --git a/libgimpwidgets/gimpicons.c b/libgimpwidgets/gimpicons.c
index c8f74ab..1ef7361 100644
--- a/libgimpwidgets/gimpicons.c
+++ b/libgimpwidgets/gimpicons.c
@@ -83,6 +83,8 @@ static const GtkStockItem gimp_stock_items[] =
   { GIMP_STOCK_FILE_MANAGER,                  NULL,   0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_EDIT_CLEAR,                    NULL,   0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_SHRED,                         NULL,   0, 0, LIBGIMP_DOMAIN },
+  { GIMP_STOCK_UNDO,                          NULL,   0, 0, LIBGIMP_DOMAIN },
+  { GIMP_STOCK_REDO,                          NULL,   0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_DOCUMENT_RECENT,               NULL,   0, 0, LIBGIMP_DOMAIN },
 
   { GIMP_STOCK_GRADIENT_LINEAR,               NULL,   0, 0, LIBGIMP_DOMAIN },
diff --git a/libgimpwidgets/gimpicons.h b/libgimpwidgets/gimpicons.h
index 9061418..991b6fd 100644
--- a/libgimpwidgets/gimpicons.h
+++ b/libgimpwidgets/gimpicons.h
@@ -58,6 +58,8 @@ G_BEGIN_DECLS
 #define GIMP_STOCK_FILE_MANAGER             "gimp-file-manager"
 #define GIMP_STOCK_EDIT_CLEAR               "gimp-edit-clear"
 #define GIMP_STOCK_SHRED                    "gimp-shred"
+#define GIMP_STOCK_UNDO                     "gimp-undo"
+#define GIMP_STOCK_REDO                     "gimp-redo"
 #define GIMP_STOCK_DOCUMENT_RECENT          "gimp-document-recent"
 
 
diff --git a/plug-ins/ifs-compose/ifs-compose.c b/plug-ins/ifs-compose/ifs-compose.c
index 8b1eee7..39e5780 100644
--- a/plug-ins/ifs-compose/ifs-compose.c
+++ b/plug-ins/ifs-compose/ifs-compose.c
@@ -1031,11 +1031,11 @@ design_op_menu_create (GtkWidget *window)
       NULL, "<control>D", NULL,
       G_CALLBACK (ifs_compose_delete_callback) },
 
-    { "undo", "edit-undo",
+    { "undo", GIMP_STOCK_UNDO,
       NULL, "<control>Z", NULL,
       G_CALLBACK (undo) },
 
-    { "redo", "edit-redo",
+    { "redo", GIMP_STOCK_REDO,
       NULL, "<control>Y", NULL,
       G_CALLBACK (redo) },
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]