diff options
| author | bulia byak <buliabyak@gmail.com> | 2009-02-10 15:22:58 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2009-02-10 15:22:58 +0000 |
| commit | 5376ac86a0a284a8bc166dd1b1c176c9f704a967 (patch) | |
| tree | e645d6e8f0b86b1118b69c8a52422d35662bb0da /src/selection-describer.cpp | |
| parent | Big filters update (diff) | |
| download | inkscape-5376ac86a0a284a8bc166dd1b1c176c9f704a967.tar.gz inkscape-5376ac86a0a284a8bc166dd1b1c176c9f704a967.zip | |
now that selection description includes style (filtered, clipped), we need to update it on modified signal as well
(bzr r7263)
Diffstat (limited to 'src/selection-describer.cpp')
| -rw-r--r-- | src/selection-describer.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/selection-describer.cpp b/src/selection-describer.cpp index bd8403054..06c477f4b 100644 --- a/src/selection-describer.cpp +++ b/src/selection-describer.cpp @@ -100,13 +100,23 @@ SelectionDescriber::SelectionDescriber(Inkscape::Selection *selection, MessageSt _selection_changed_connection = new sigc::connection ( selection->connectChanged( sigc::mem_fun(*this, &SelectionDescriber::_updateMessageFromSelection))); + _selection_modified_connection = new sigc::connection ( + selection->connectModified( + sigc::mem_fun(*this, &SelectionDescriber::_selectionModified))); _updateMessageFromSelection(selection); } SelectionDescriber::~SelectionDescriber() { _selection_changed_connection->disconnect(); + _selection_modified_connection->disconnect(); delete _selection_changed_connection; + delete _selection_modified_connection; +} + +void SelectionDescriber::_selectionModified(Inkscape::Selection *selection, guint /*flags*/) +{ + _updateMessageFromSelection(selection); } void SelectionDescriber::_updateMessageFromSelection(Inkscape::Selection *selection) { |
