index 8c7fad2c9fd0c5ea5b66847033b74d27f7fb245c..aefdeefa75a875de03056715fad4f150fe794a69 100644 (file)
--- a/src/extension/effect.cpp
+++ b/src/extension/effect.cpp
// printf("Found local effects menu in %s\n", this->get_name());
local_effects_menu = sp_repr_children(child_repr);
}
- if (!strcmp(child_repr->name(), "menu-name")) {
+ if (!strcmp(child_repr->name(), "menu-name") ||
+ !strcmp(child_repr->name(), "_menu-name")) {
// printf("Found local effects menu in %s\n", this->get_name());
_verb.set_name(sp_repr_children(child_repr)->content());
}
- if (!strcmp(child_repr->name(), "menu-tip")) {
+ if (!strcmp(child_repr->name(), "menu-tip") ||
+ !strcmp(child_repr->name(), "_menu-tip")) {
// printf("Found local effects menu in %s\n", this->get_name());
_verb.set_tip(sp_repr_children(child_repr)->content());
}
return true;
}
- PrefDialog * dialog = new PrefDialog(this->get_name(), controls);
+ PrefDialog * dialog = new PrefDialog(this->get_name(), this->get_help(), controls);
int response = dialog->run();
dialog->hide();
return false;
}
+Gtk::VBox *
+Effect::get_info_widget(void)
+{
+ return Extension::get_info_widget();
+}
+
/** \brief Create an action for a \c EffectVerb
\param view Which view the action should be created for
\return The built action.