From: buliabyak Date: Wed, 5 Sep 2007 17:29:43 +0000 (+0000) Subject: move the remove button to where it makes more sense X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3a356a32592211bcef5a7e9adc44532d64e0b71e;p=inkscape.git move the remove button to where it makes more sense --- diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp index 4a1c82652..363f2b606 100644 --- a/src/ui/dialog/livepatheffect-editor.cpp +++ b/src/ui/dialog/livepatheffect-editor.cpp @@ -86,10 +86,11 @@ LivePathEffectEditor::LivePathEffectEditor(Behavior::BehaviorFactory behavior_fa effectapplication_vbox.pack_start(combo_effecttype, true, true); effectapplication_vbox.pack_start(button_apply, true, true); - effectapplication_vbox.pack_start(button_remove, true, true); effectapplication_frame.add(effectapplication_vbox); effectcontrol_vbox.pack_start(explain_label, true, true); + effectcontrol_vbox.pack_end(button_remove, true, true); + button_remove.hide(); effectcontrol_frame.add(effectcontrol_vbox); vbox->pack_start(effectapplication_frame, true, true); @@ -136,6 +137,7 @@ LivePathEffectEditor::showParams(LivePathEffect::Effect* effect) if (effectwidget) { effectcontrol_vbox.pack_start(*effectwidget, true, true); } + button_remove.show(); effectcontrol_vbox.show_all_children(); // fixme: do resizing of dialog @@ -150,6 +152,7 @@ LivePathEffectEditor::showText(Glib::ustring const &str) } explain_label.set_label(str); + button_remove.hide(); // fixme: do resizing of dialog ? }