diff inkscape/AssignSymbol.py @ 277:5006e4abdda5

Allow any elemnt to be a symbol.
author wycc
date Sun, 04 Jan 2009 12:01:41 +0800
parents 1958bb2a87a2
children
line wrap: on
line diff
--- a/inkscape/AssignSymbol.py	Sun Jan 04 09:32:49 2009 +0800
+++ b/inkscape/AssignSymbol.py	Sun Jan 04 12:01:41 2009 +0800
@@ -46,9 +46,6 @@
 			return
 		for id,node in self.selected.iteritems():
 			#self.dump(node)
-			if node.tag != '{http://www.w3.org/2000/svg}g':
-				self.confirm('Only group element can be converted into a symbol')
-				return
 			self.node = node
 			vbox = gtk.VBox()
 			vbox.pack_start(gtk.Label('Please input the symbol name'))