From 94d507366a97e2d5fbfb7d2b2c32f69830844a13 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Cenoz Date: Mon, 21 Jul 2014 17:05:54 +0200 Subject: Add icons on/off to use in simplify LPE toggle buttons (bzr r13341.1.90) --- share/icons/icons.svg | 147 ++++++++++---------------------------- share/icons/symbolic_icons.svg | 15 ++-- share/icons/tango_icons.svg | 56 ++++++++++----- src/live_effects/lpe-simplify.cpp | 8 +-- 4 files changed, 91 insertions(+), 135 deletions(-) diff --git a/share/icons/icons.svg b/share/icons/icons.svg index 0e3b84377..7343fd184 100644 --- a/share/icons/icons.svg +++ b/share/icons/icons.svg @@ -1,6 +1,14 @@ + + + + + + + + @@ -441,11 +449,6 @@ - - - - - @@ -821,50 +824,37 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + @@ -3856,78 +3846,15 @@ http://www.inkscape.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + diff --git a/share/icons/symbolic_icons.svg b/share/icons/symbolic_icons.svg index 26dab3333..92bc8f848 100644 --- a/share/icons/symbolic_icons.svg +++ b/share/icons/symbolic_icons.svg @@ -1,7 +1,7 @@ - + Inkscape Icon Theme @@ -13,7 +13,7 @@ - + @@ -3632,9 +3632,14 @@ - - - + + + + + + + + diff --git a/share/icons/tango_icons.svg b/share/icons/tango_icons.svg index 297d012b2..8e12f2cb0 100644 --- a/share/icons/tango_icons.svg +++ b/share/icons/tango_icons.svg @@ -2275,8 +2275,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -5212,21 +5241,16 @@ http://www.inkscape.org/ - - - - - - - - - - - - - - - + + + + + + + + + + diff --git a/src/live_effects/lpe-simplify.cpp b/src/live_effects/lpe-simplify.cpp index 17b97eda9..1a02375cd 100644 --- a/src/live_effects/lpe-simplify.cpp +++ b/src/live_effects/lpe-simplify.cpp @@ -30,13 +30,13 @@ LPESimplify::LPESimplify(LivePathEffectObject *lpeobject) threshold(_("Roughly threshold:"), _("Roughly threshold:"), "threshold", &wr, this, 0.003), helper_size(_("Helper size:"), _("Helper size"), "helper_size", &wr, this, 2.), nodes(_("Helper nodes"), _("Show helper nodes"), "nodes", &wr, this, false, - "", INKSCAPE_ICON("system-run"), INKSCAPE_ICON("process-stop")), + "", INKSCAPE_ICON("on"), INKSCAPE_ICON("off")), handles(_("Helper handles"), _("Show helper handles"), "handles", &wr, this, false, - "", INKSCAPE_ICON("system-run"), INKSCAPE_ICON("process-stop")), + "", INKSCAPE_ICON("on"), INKSCAPE_ICON("off")), simplifyindividualpaths(_("Paths separately"), _("Simplifying paths (separately)"), "simplifyindividualpaths", &wr, this, false, - "", INKSCAPE_ICON("system-run"), INKSCAPE_ICON("process-stop")), + "", INKSCAPE_ICON("on"), INKSCAPE_ICON("off")), simplifyJustCoalesce(_("Just coalesce"), _("Simplify just coalesce"), "simplifyJustCoalesce", &wr, this, false, - "", INKSCAPE_ICON("system-run"), INKSCAPE_ICON("process-stop")) + "", INKSCAPE_ICON("on"), INKSCAPE_ICON("off")) { registerParameter(dynamic_cast(&steps)); registerParameter(dynamic_cast(&threshold)); -- cgit v1.2.3