Code

Disable text entry widget for TextParam until it works correctly
authorcilix42 <cilix42@users.sourceforge.net>
Tue, 29 Jul 2008 18:03:17 +0000 (18:03 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Tue, 29 Jul 2008 18:03:17 +0000 (18:03 +0000)
src/live_effects/parameter/text.cpp

index 3b69c9ef5f964fd76527eb404fce5dee6ef00d8a..4b36edf78cf33dee126781358516552bc7ad7954 100644 (file)
@@ -75,6 +75,7 @@ TextParam::param_getSVGValue() const
 Gtk::Widget *
 TextParam::param_newWidget(Gtk::Tooltips * /*tooltips*/)
 {
+    /**
     Inkscape::UI::Widget::RegisteredText *rsu = Gtk::manage(new Inkscape::UI::Widget::RegisteredText(
         param_label, param_tooltip, param_key, *param_wr, param_effect->getRepr(), param_effect->getSPDoc()));
 
@@ -84,6 +85,10 @@ TextParam::param_newWidget(Gtk::Tooltips * /*tooltips*/)
     rsu->set_undo_parameters(SP_VERB_DIALOG_LIVE_PATH_EFFECT, _("Change text parameter"));
 
     return dynamic_cast<Gtk::Widget *> (rsu);
+    **/
+
+    // widget is disabled until it works correctly
+    return NULL;
 }
 
 void