diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-10-12 17:09:34 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-10-12 17:11:04 +0000 |
| commit | 7904e4c58670c77b94c11fd7a6752a447e0f7223 (patch) | |
| tree | bacef55514cf5e1c31bae351054470a17a7421d2 /src/extension/effect.cpp | |
| parent | CMake: Avoid reordering CMAKE_CXX_FLAGS (diff) | |
| download | inkscape-7904e4c58670c77b94c11fd7a6752a447e0f7223.tar.gz inkscape-7904e4c58670c77b94c11fd7a6752a447e0f7223.zip | |
Revert "Remove unused "nopref" variant of effects"
This reverts commit ef84b6a06b8fe5be8c15384cd95a35bc6d0c95a7.
Diffstat (limited to 'src/extension/effect.cpp')
| -rw-r--r-- | src/extension/effect.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index db00a77a9..1a84e3df1 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -36,7 +36,10 @@ Inkscape::XML::Node * Effect::_filters_list = nullptr; Effect::Effect (Inkscape::XML::Node *in_repr, Implementation::Implementation *in_imp, std::string *base_directory) : Extension(in_repr, in_imp, base_directory) + , _id_noprefs(Glib::ustring(get_id()) + ".noprefs") + , _name_noprefs(Glib::ustring(_(get_name())) + _(" (No preferences)")) , _verb(get_id(), get_name(), nullptr, nullptr, this, true) + , _verb_nopref(_id_noprefs.c_str(), _name_noprefs.c_str(), nullptr, nullptr, this, false) , _menu_node(nullptr), _workingDialog(true) , _prefDialog(nullptr) { |
