Code

Remove now obsolete 'edit on canvas' button for PointParams
authorcilix42 <cilix42@users.sourceforge.net>
Wed, 2 Jul 2008 16:43:10 +0000 (16:43 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Wed, 2 Jul 2008 16:43:10 +0000 (16:43 +0000)
src/live_effects/parameter/point.cpp

index 84de8db0561d72d65fc2e3a0224bdc0edb30d16f..fa78ae6a4985ac764ec288960e3a5b55ac45bca8 100644 (file)
@@ -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<Gtk::HBox*>(hbox)->pack_start(*pButton, true, true);
     static_cast<Gtk::HBox*>(hbox)->pack_start(*pointwdg, true, true);
     static_cast<Gtk::HBox*>(hbox)->show_all_children();
 
-    tooltips->set_tip(*pButton, _("Edit on-canvas"));
-
     return dynamic_cast<Gtk::Widget *> (hbox);
 }