From: cilix42 Date: Wed, 2 Jul 2008 16:43:10 +0000 (+0000) Subject: Remove now obsolete 'edit on canvas' button for PointParams X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=04d3bcf180d326f4ddd72fff44bac515748d4273;p=inkscape.git Remove now obsolete 'edit on canvas' button for PointParams --- diff --git a/src/live_effects/parameter/point.cpp b/src/live_effects/parameter/point.cpp index 84de8db05..fa78ae6a4 100644 --- a/src/live_effects/parameter/point.cpp +++ b/src/live_effects/parameter/point.cpp @@ -97,20 +97,10 @@ PointParam::param_newWidget(Gtk::Tooltips * tooltips) pointwdg->clearProgrammatically(); pointwdg->set_undo_parameters(SP_VERB_DIALOG_LIVE_PATH_EFFECT, _("Change point parameter")); - Gtk::Widget* pIcon = Gtk::manage( sp_icon_get_icon( "draw_node", Inkscape::ICON_SIZE_BUTTON) ); - Gtk::Button * pButton = Gtk::manage(new Gtk::Button()); - pButton->set_relief(Gtk::RELIEF_NONE); - pIcon->show(); - pButton->add(*pIcon); - pButton->show(); - Gtk::HBox * hbox = Gtk::manage( new Gtk::HBox() ); - static_cast(hbox)->pack_start(*pButton, true, true); static_cast(hbox)->pack_start(*pointwdg, true, true); static_cast(hbox)->show_all_children(); - tooltips->set_tip(*pButton, _("Edit on-canvas")); - return dynamic_cast (hbox); }