diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2008-01-30 01:56:55 +0000 |
|---|---|---|
| committer | jucablues <jucablues@users.sourceforge.net> | 2008-01-30 01:56:55 +0000 |
| commit | 3060a74429257cb4fe564d58c70d6411cd2bc913 (patch) | |
| tree | f270a6e0edd3fc82dd1de48c3f2070bb47b9e53f /src/ui/dialog/livepatheffect-editor.cpp | |
| parent | Don't freeze when pressing Ctrl in the pencil tool (closes: LP #181898) (diff) | |
| download | inkscape-3060a74429257cb4fe564d58c70d6411cd2bc913.tar.gz inkscape-3060a74429257cb4fe564d58c70d6411cd2bc913.zip | |
* don't strech buttons on lpe dialog when resizing the dialog
* return to "No effects applied" message when one removes an lpe effect
(bzr r4616)
Diffstat (limited to 'src/ui/dialog/livepatheffect-editor.cpp')
| -rw-r--r-- | src/ui/dialog/livepatheffect-editor.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp index d03edcd8e..29ec03a8c 100644 --- a/src/ui/dialog/livepatheffect-editor.cpp +++ b/src/ui/dialog/livepatheffect-editor.cpp @@ -76,8 +76,8 @@ LivePathEffectEditor::LivePathEffectEditor() 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)); @@ -265,6 +265,8 @@ LivePathEffectEditor::onRemove() 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") ); } |
