summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9c1083e)
raw | patch | inline | side by side (parent: 9c1083e)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 25 Nov 2006 22:16:25 +0000 (22:16 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 25 Nov 2006 22:16:25 +0000 (22:16 +0000) |
removed debug message
share/extensions/radiobutton_example.inx | patch | blob | history | |
src/extension/paramradiobutton.cpp | patch | blob | history |
index 9331f6da3b856c448e92a834ff9bac2fef38fc14..0195ed211d268d7c3bd93705bdcdaf19131b190f 100644 (file)
<_name>RadioButton example</_name>
<id>org.inkscape.effect.radiobuttontest</id>
<param name="radio1" type="optiongroup" _gui-text="Select option: ">
- <item>string 1</item>
- <item>string 2</item>
- <item>test 3!</item>
+ <option>string 1</option>
+ <option>string 2</option>
+ <option>test 3!</option>
</param>
<param name="radio2" type="optiongroup" _gui-text="Select second option: ">
- <item>string1</item>
- <item>string2</item>
- <item>test3!</item>
+ <option>string1</option>
+ <option>string2</option>
+ <option>test3!</option>
</param>
<effect>
<object-type>all</object-type>
index 80ec5052100a4e39bd42713bff9d844b46b837b6..b1eef0e5d7fe2afbf29fbbb5aa0aa562d3e091a2 100644 (file)
Inkscape::XML::Node *child_repr = sp_repr_children(xml);\r
while (child_repr != NULL) {\r
char const * chname = child_repr->name();\r
- if (!strcmp(chname, "item")) {\r
+ if (!strcmp(chname, "option")) {\r
Glib::ustring * newitem = NULL;\r
const char * contents = sp_repr_children(child_repr)->content();\r
if (contents != NULL)\r
{\r
if (this->get_active()) {\r
Glib::ustring data = this->get_label();\r
- g_message(data.c_str());\r
_pref->set(data.c_str(), _doc, _node);\r
}\r
}\r