diff options
| author | Ted Gould <ted@gould.cx> | 2006-05-06 16:01:37 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2006-05-06 16:01:37 +0000 |
| commit | 59afb715a7218fc226620f5ff949bda78bb5d212 (patch) | |
| tree | 875312303a7d61edc9de5ca3c974d5344621fc02 /src/extension/extension.cpp | |
| parent | no comment (diff) | |
| download | inkscape-59afb715a7218fc226620f5ff949bda78bb5d212.tar.gz inkscape-59afb715a7218fc226620f5ff949bda78bb5d212.zip | |
r11673@tres: ted | 2006-05-05 21:17:59 -0700
Allows param default values to be translatable and adding a little space
in the dialog.
(bzr r747)
Diffstat (limited to 'src/extension/extension.cpp')
| -rw-r--r-- | src/extension/extension.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extension/extension.cpp b/src/extension/extension.cpp index fe23ec557..97d71c5ee 100644 --- a/src/extension/extension.cpp +++ b/src/extension/extension.cpp @@ -91,15 +91,15 @@ Extension::Extension (Inkscape::XML::Node * in_repr, Implementation::Implementat if (!strcmp(chname, "help")) { _help = g_strdup (sp_repr_children(child_repr)->content()); } /* name */ - if (!strcmp(chname, "param")) { + if (!strcmp(chname, "param") || !strcmp(chname, "_param")) { Parameter * param; param = Parameter::make(child_repr, this); if (param != NULL) parameters = g_slist_append(parameters, param); - } /* param */ + } /* param || _param */ if (!strcmp(chname, "dependency")) { _deps.push_back(new Dependency(child_repr)); - } /* param */ + } /* dependency */ child_repr = sp_repr_next(child_repr); } @@ -597,7 +597,7 @@ public: */ void addWidget (Gtk::Widget * widg, gchar const * tooltip) { if (widg == NULL) return; - this->pack_start(*widg, true, true); + this->pack_start(*widg, true, true, 2); if (tooltip != NULL) { _tooltips.set_tip(*widg, Glib::ustring(tooltip)); // printf("Setting tooltip: %s\n", tooltip); |
