summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/livepatheffect-editor.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-09-05 17:29:43 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-09-05 17:29:43 +0000
commit7bcd2a82bf27a0c4332659c6010dd90463727b77 (patch)
tree5738ae2ed975b9669bae58d77500180fe97549b6 /src/ui/dialog/livepatheffect-editor.cpp
parentadded a default gtk theme for Inkscape on OS X. The shell script which runs I... (diff)
downloadinkscape-7bcd2a82bf27a0c4332659c6010dd90463727b77.tar.gz
inkscape-7bcd2a82bf27a0c4332659c6010dd90463727b77.zip
move the remove button to where it makes more sense
(bzr r3684)
Diffstat (limited to 'src/ui/dialog/livepatheffect-editor.cpp')
-rw-r--r--src/ui/dialog/livepatheffect-editor.cpp5
1 files changed, 4 insertions, 1 deletions
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 ?
}