From: johncoswell Date: Fri, 9 Nov 2007 11:44:02 +0000 (+0000) Subject: allow for _option in radiobuttons for XML translation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=33ab470e4211a30647dd01bbbdb9786ee0233177;p=inkscape.git allow for _option in radiobuttons for XML translation --- diff --git a/src/extension/paramradiobutton.cpp b/src/extension/paramradiobutton.cpp index 9a2bc49a9..ad18ce79f 100644 --- a/src/extension/paramradiobutton.cpp +++ b/src/extension/paramradiobutton.cpp @@ -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();