Code

allow for _option in radiobuttons for XML translation
authorjohncoswell <johncoswell@users.sourceforge.net>
Fri, 9 Nov 2007 11:44:02 +0000 (11:44 +0000)
committerjohncoswell <johncoswell@users.sourceforge.net>
Fri, 9 Nov 2007 11:44:02 +0000 (11:44 +0000)
src/extension/paramradiobutton.cpp

index 9a2bc49a9040c81eed9fee3c71a543bfab9d21d5..ad18ce79f83eb64ce9880fe58fe68160f932fca2 100644 (file)
@@ -71,7 +71,7 @@ ParamRadioButton::ParamRadioButton (const gchar * name, const gchar * guitext, c
         Inkscape::XML::Node *child_repr = sp_repr_children(xml);
         while (child_repr != NULL) {
             char const * chname = child_repr->name();
-            if (!strcmp(chname, "option")) {
+            if (!strcmp(chname, "option") || !strcmp(chname, "_option")) {
                 Glib::ustring * newguitext = NULL;
                 Glib::ustring * newvalue = NULL;
                 const char * contents = sp_repr_children(child_repr)->content();