From 33ab470e4211a30647dd01bbbdb9786ee0233177 Mon Sep 17 00:00:00 2001 From: johncoswell Date: Fri, 9 Nov 2007 11:44:02 +0000 Subject: [PATCH] allow for _option in radiobuttons for XML translation --- src/extension/paramradiobutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.30.2