1 Jun
2010
1 Jun
'10
3:49 a.m.
Hi all,
I've been working on the document properties dialog, which uses RegisteredWidgets (essentially wrappers that link a gtk widget to an XML attribute, so changing the widget changes the XML), and I've noticed that the code doesn't really use the attribute constants in attributes.h.
My question: instead of using straight strings, for example "inkscape:document-units", should the code be using
sp_attribute_name(SP_ATTR_INKSCAPE_DOCUMENT_UNITS)
- Alex