summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 72b62e6)
raw | patch | inline | side by side (parent: 72b62e6)
author | jucablues <jucablues@users.sourceforge.net> | |
Wed, 30 Jan 2008 01:56:55 +0000 (01:56 +0000) | ||
committer | jucablues <jucablues@users.sourceforge.net> | |
Wed, 30 Jan 2008 01:56:55 +0000 (01:56 +0000) |
* return to "No effects applied" message when one removes an lpe effect
src/ui/dialog/livepatheffect-editor.cpp | patch | blob | history |
index d03edcd8ee1725507b64e744a402038c138bf010..29ec03a8ca6294ed7cd6278b6e5d98adda534e32 100644 (file)
effectcontrol_vbox.pack_end(button_remove, true, true);
effectcontrol_frame.add(effectcontrol_vbox);
- contents->pack_start(effectapplication_frame, true, true);
- contents->pack_start(effectcontrol_frame, true, true);
+ contents->pack_start(effectapplication_frame, false, false);
+ contents->pack_start(effectcontrol_frame, false, false);
// connect callback functions to buttons
button_apply.signal_clicked().connect(sigc::mem_fun(*this, &LivePathEffectEditor::onApply));
SPItem *item = sel->singleItem();
if ( item && SP_IS_SHAPE(item) ) {
sp_shape_remove_path_effect(SP_SHAPE(item));
+ showText(_("No effect applied"));
+ button_remove.set_sensitive(false);
sp_document_done ( sp_desktop_document (current_desktop), SP_VERB_DIALOG_LIVE_PATH_EFFECT,
_("Remove path effect") );
}