diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-05-09 14:32:15 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-05-09 14:32:15 +0000 |
| commit | 0ec3f8c5986aa1a78ecabb469c84993929269bff (patch) | |
| tree | a4f6df4ffba585d2d2b4f5262ebc62cb5793b749 /src/extension/param/enum.cpp | |
| parent | Remove LPESlant. (diff) | |
| download | inkscape-0ec3f8c5986aa1a78ecabb469c84993929269bff.tar.gz inkscape-0ec3f8c5986aa1a78ecabb469c84993929269bff.zip | |
fix enums
(bzr r5639)
Diffstat (limited to 'src/extension/param/enum.cpp')
| -rw-r--r-- | src/extension/param/enum.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/param/enum.cpp b/src/extension/param/enum.cpp index 274220699..89db25d03 100644 --- a/src/extension/param/enum.cpp +++ b/src/extension/param/enum.cpp @@ -71,7 +71,7 @@ ParamComboBox::ParamComboBox (const gchar * name, const gchar * guitext, const g Inkscape::XML::Node *child_repr = sp_repr_children(xml); while (child_repr != NULL) { char const * chname = child_repr->name(); - if (!strcmp(chname, "item") || !strcmp(chname, "_item")) { + if (!strcmp(chname, "extension:item") || !strcmp(chname, "extension:_item")) { Glib::ustring * newguitext = NULL; Glib::ustring * newvalue = NULL; const char * contents = sp_repr_children(child_repr)->content(); @@ -79,7 +79,7 @@ ParamComboBox::ParamComboBox (const gchar * name, const gchar * guitext, const g // don't translate when 'item' but do translate when '_item' // NOTE: internal extensions use build_from_mem and don't need _item but // still need to include if are to be localized - newguitext = new Glib::ustring( !strcmp(chname, "_item") ? _(contents) : contents ); + newguitext = new Glib::ustring( !strcmp(chname, "extension:_item") ? _(contents) : contents ); else continue; |
