summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/extension-editor.cpp
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-07-21 16:41:47 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-08-31 14:50:38 +0000
commit3c2c2921ae44841306da6ff357865481ad1fc674 (patch)
treefdc214683ca4e54231d84776c1ef1548fbff68d0 /src/ui/dialog/extension-editor.cpp
parentRemove unused define ESCAPE_DOLLAR_COMMANDLINE (diff)
downloadinkscape-3c2c2921ae44841306da6ff357865481ad1fc674.tar.gz
inkscape-3c2c2921ae44841306da6ff357865481ad1fc674.zip
Remove unused and disabled "help" feature for extensions
Diffstat (limited to 'src/ui/dialog/extension-editor.cpp')
-rw-r--r--src/ui/dialog/extension-editor.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ui/dialog/extension-editor.cpp b/src/ui/dialog/extension-editor.cpp
index e324afcc7..1852010a0 100644
--- a/src/ui/dialog/extension-editor.cpp
+++ b/src/ui/dialog/extension-editor.cpp
@@ -41,7 +41,6 @@ ExtensionEditor::ExtensionEditor()
: UI::Widget::Panel("/dialogs/extensioneditor", SP_VERB_DIALOG_EXTENSIONEDITOR)
{
_notebook_info.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
- _notebook_help.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
_notebook_params.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
//Main HBox
@@ -73,7 +72,6 @@ ExtensionEditor::ExtensionEditor()
hbox_list_page->pack_start(*vbox_page, true, true, 0);
Gtk::Notebook * notebook = Gtk::manage(new Gtk::Notebook());
notebook->append_page(_notebook_info, *Gtk::manage(new Gtk::Label(_("Information"))));
- notebook->append_page(_notebook_help, *Gtk::manage(new Gtk::Label(_("Help"))));
notebook->append_page(_notebook_params, *Gtk::manage(new Gtk::Label(_("Parameters"))));
vbox_page->pack_start(*notebook, true, true, 0);
@@ -140,19 +138,16 @@ void ExtensionEditor::on_pagelist_selection_changed()
/* Clear the notbook pages */
_notebook_info.remove();
- _notebook_help.remove();
_notebook_params.remove();
Inkscape::Extension::Extension * ext = Inkscape::Extension::db.get(id.c_str());
/* Make sure we have all the widgets */
Gtk::Widget * info = nullptr;
- Gtk::Widget * help = nullptr;
Gtk::Widget * params = nullptr;
if (ext != nullptr) {
info = ext->get_info_widget();
- help = ext->get_help_widget();
params = ext->get_params_widget();
}
@@ -160,9 +155,6 @@ void ExtensionEditor::on_pagelist_selection_changed()
if (info != nullptr) {
_notebook_info.add(*info);
}
- if (help != nullptr) {
- _notebook_help.add(*help);
- }
if (params != nullptr) {
_notebook_params.add(*params);
}