summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2012-03-21 12:28:40 +0000
committerJazzyNico <nicoduf@yahoo.fr>2012-03-21 12:28:40 +0000
commitc90489aaacb840077f8846f5b1313eb28051d03a (patch)
treefa3523dd7f1f36d6e3be14ac5275f5b924d8af47
parentFix for 959223 : Object selection messes up styles, regression from r11082 (diff)
downloadinkscape-c90489aaacb840077f8846f5b1313eb28051d03a.tar.gz
inkscape-c90489aaacb840077f8846f5b1313eb28051d03a.zip
UI. Patch for Bug #789797 (Add an icon/definiton for Duplicate Current Layer).
Fixed bugs: - https://launchpad.net/bugs/789797 (bzr r11108)
-rw-r--r--share/icons/icons.svg6
-rw-r--r--src/verbs.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/share/icons/icons.svg b/share/icons/icons.svg
index 6161bc187..cff58130d 100644
--- a/share/icons/icons.svg
+++ b/share/icons/icons.svg
@@ -1600,6 +1600,12 @@ http://www.inkscape.org/</dc:description>
<path sodipodi:nodetypes="cc" id="path8025" d="m 979,171.85 -5,5" style="fill:none;stroke:#ffffff;stroke-width:1.79999995;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
</g>
+<g id="layer-duplicate" transform="translate(-819.96 95.039)" inkscape:label="#duplicate_layer">
+<rect id="rect6972" height="16" width="16" y="171.96" x="964.96" fill="none"/>
+<use id="use6122" transform="translate(-0.041 2.9609)" height="1250" width="1250" xlink:href="#path4802" y="0" x="0"/>
+<use id="use6122" transform="translate(-0.041 1.961)" height="1250" width="1250" xlink:href="#path5705" y="0" x="0"/>
+</g>
+
<g id="selection-move-to-layer-above" transform="matrix(0.997444,0,0,1,-817.4926,-59)" inkscape:label="#move_selection_above">
<use xlink:href="#path4802" height="1250" width="1250" id="use5774" y="0" x="0" transform="translate(-0.0410002,-11.03912)" />
<rect style="color:#000000;fill:none;stroke:none;stroke-width:1;marker:none;display:inline" id="rect9602" width="16" height="16" x="965" y="164" />
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 6abd119c5..b00315248 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -2399,7 +2399,7 @@ Verb *Verb::_base_verbs[] = {
new LayerVerb(SP_VERB_LAYER_LOWER, "LayerLower", N_("_Lower Layer"),
N_("Lower the current layer"), INKSCAPE_ICON("layer-lower")),
new LayerVerb(SP_VERB_LAYER_DUPLICATE, "LayerDuplicate", N_("D_uplicate Current Layer"),
- N_("Duplicate an existing layer"), NULL),
+ N_("Duplicate an existing layer"), INKSCAPE_ICON("layer-duplicate")),
new LayerVerb(SP_VERB_LAYER_DELETE, "LayerDelete", N_("_Delete Current Layer"),
N_("Delete the current layer"), INKSCAPE_ICON("layer-delete")),
new LayerVerb(SP_VERB_LAYER_SOLO, "LayerSolo", N_("_Show/hide other layers"),