From: d Date: Wed, 10 Nov 2010 07:25:10 +0000 (-0400) Subject: add source text to inkscape:label X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c30423ec642c200ec654cc382bb9e6795c9d5f3e;p=inkscape.git add source text to inkscape:label --- diff --git a/share/extensions/render_barcode_qrcode.py b/share/extensions/render_barcode_qrcode.py index 094d91c17..a8727aea0 100644 --- a/share/extensions/render_barcode_qrcode.py +++ b/share/extensions/render_barcode_qrcode.py @@ -1050,7 +1050,7 @@ class QRCodeInkscape(inkex.Effect): centre = self.view_center #Put in in the centre of the current view grp_transform = 'translate' + str( centre ) - grp_name = 'QRCode' + grp_name = 'QR Code: '+so.TEXT grp_attribs = {inkex.addNS('label','inkscape'):grp_name, 'transform':grp_transform } grp = inkex.etree.SubElement(self.current_layer, 'g', grp_attribs) #the group to put everything in