Code

add source text to inkscape:label
authord <d@d-desktop>
Wed, 10 Nov 2010 07:25:10 +0000 (03:25 -0400)
committerd <d@d-desktop>
Wed, 10 Nov 2010 07:25:10 +0000 (03:25 -0400)
share/extensions/render_barcode_qrcode.py

index 094d91c176d09708c6e4a2c6a6beb2b9862f85c1..a8727aea05ae7333d7422fca53a1e50cde27c14f 100644 (file)
@@ -1050,7 +1050,7 @@ class QRCodeInkscape(inkex.Effect):
             \r
             centre = self.view_center   #Put in in the centre of the current view\r
             grp_transform = 'translate' + str( centre )\r
-            grp_name = 'QRCode'\r
+            grp_name = 'QR Code: '+so.TEXT\r
             grp_attribs = {inkex.addNS('label','inkscape'):grp_name,\r
                            'transform':grp_transform }\r
             grp = inkex.etree.SubElement(self.current_layer, 'g', grp_attribs) #the group to put everything in\r