From 5950073a4ce60212f2990d0faf053fb78ec1fb9c Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Fri, 22 Mar 2013 21:48:03 +0100 Subject: Translations. Translatable files clean-up (find.cpp removal). Translations. Inkscape.pot update. Preferences. Filters preferences text fix (see Bug #1133033). Extensions. Fix for Bug #1158377 (Printing marks needs more precision). (bzr r12230) --- share/extensions/printing_marks.inx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'share') diff --git a/share/extensions/printing_marks.inx b/share/extensions/printing_marks.inx index 19a29bf02..552741415 100644 --- a/share/extensions/printing_marks.inx +++ b/share/extensions/printing_marks.inx @@ -26,12 +26,12 @@ cm mm - 5 + 5 <_param name="bleed_settings" type="description" appearance="header">Bleed Margin - 5 - 5 - 5 - 5 + 5 + 5 + 5 + 5 -- cgit v1.2.3 From 08a6910ae3366ca64e9da171c3e016bf93ac34b6 Mon Sep 17 00:00:00 2001 From: Raphael Rosch Date: Fri, 22 Mar 2013 17:01:41 -0400 Subject: pick a better filter editor icon Fixed bugs: - https://launchpad.net/bugs/1092313 (bzr r12231) --- share/icons/icons.svg | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) (limited to 'share') diff --git a/share/icons/icons.svg b/share/icons/icons.svg index 0b7e89045..368036fbc 100644 --- a/share/icons/icons.svg +++ b/share/icons/icons.svg @@ -1,5 +1,5 @@ - + @@ -800,8 +800,15 @@ + + + + + + + - + @@ -937,9 +944,9 @@ http://www.inkscape.org/ - + - + @@ -3709,12 +3716,17 @@ http://www.inkscape.org/ - - - - - - - + + + + + + + + + + + + -- cgit v1.2.3 From 8f8482850789d8c9ffb2a43751818eac7fa6b274 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Sat, 23 Mar 2013 17:41:06 +0100 Subject: Extensions. Fix for old Bug #166697 (Effects dirty document even when they do nothing). (bzr r12236) --- share/extensions/inkex.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/extensions/inkex.py b/share/extensions/inkex.py index 4ba88c3bb..c1feba5ae 100755 --- a/share/extensions/inkex.py +++ b/share/extensions/inkex.py @@ -157,6 +157,7 @@ class Effect: def __init__(self, *args, **kwargs): self.document=None + self.original_document=None self.ctx=None self.selected={} self.doc_ids={} @@ -184,6 +185,7 @@ class Effect: except: stream = sys.stdin self.document = etree.parse(stream) + self.original_document = copy.deepcopy(self.document) stream.close() def getposinlayer(self): @@ -249,7 +251,10 @@ class Effect: def output(self): """Serialize document into XML on stdout""" - self.document.write(sys.stdout) + original = etree.tostring(self.original_document) + result = etree.tostring(self.document) + if original != result: + self.document.write(sys.stdout) def affect(self, args=sys.argv[1:], output=True): """Affect an SVG document with a callback effect""" -- cgit v1.2.3