From: cilix42 Date: Tue, 29 Jul 2008 18:03:17 +0000 (+0000) Subject: Disable text entry widget for TextParam until it works correctly X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5e2749329fe641c4f691a32c40815ccbc0f22a5c;p=inkscape.git Disable text entry widget for TextParam until it works correctly --- diff --git a/src/live_effects/parameter/text.cpp b/src/live_effects/parameter/text.cpp index 3b69c9ef5..4b36edf78 100644 --- a/src/live_effects/parameter/text.cpp +++ b/src/live_effects/parameter/text.cpp @@ -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 (rsu); + **/ + + // widget is disabled until it works correctly + return NULL; } void