summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-08-08 21:54:39 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-08-08 21:54:39 +0000
commit86839af92b6236dfa2b6d8960da284a8302cd046 (patch)
tree56798e21568caf0b243648556f93bdbefec734ac
parentupdate on scroll and pan (diff)
downloadinkscape-86839af92b6236dfa2b6d8960da284a8302cd046.tar.gz
inkscape-86839af92b6236dfa2b6d8960da284a8302cd046.zip
copyedit, warning suppression
(bzr r3430)
-rw-r--r--src/tweak-context.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp
index 6a951901e..04cad8329 100644
--- a/src/tweak-context.cpp
+++ b/src/tweak-context.cpp
@@ -368,7 +368,8 @@ sp_tweak_dilate_recursive (Inkscape::Selection *selection, SPItem *item, NR::Poi
if (newrepr) { // converting to path, need to replace the repr
bool is_selected = selection->includes(item);
- selection->remove(item);
+ if (is_selected)
+ selection->remove(item);
// It's going to resurrect, so we delete without notifying listeners.
SP_OBJECT(item)->deleteObject(false);
@@ -526,24 +527,24 @@ sp_tweak_context_root_handler(SPEventContext *event_context,
num = g_slist_length((GSList *) desktop->selection->itemList());
}
if (num == 0) {
- tc->_message_context->set(Inkscape::NORMAL_MESSAGE, _("<b>Select paths</b> to tweak"));
+ tc->_message_context->set(Inkscape::NORMAL_MESSAGE, _("<b>Select objects</b> to tweak"));
} else {
switch (tc->mode) {
case TWEAK_MODE_PUSH:
tc->_message_context->setF(Inkscape::NORMAL_MESSAGE,
- _("<b>Pushing %d</b> selected path(s)"), num);
+ _("<b>Pushing %d</b> selected object(s)"), num);
break;
case TWEAK_MODE_SUCK:
tc->_message_context->setF(Inkscape::NORMAL_MESSAGE,
- _("<b>Melting %d</b> selected path(s)"), num);
+ _("<b>Melting %d</b> selected object(s)"), num);
break;
case TWEAK_MODE_BLOW:
tc->_message_context->setF(Inkscape::NORMAL_MESSAGE,
- _("<b>Blowing %d</b> selected path(s)"), num);
+ _("<b>Blowing %d</b> selected object(s)"), num);
break;
case TWEAK_MODE_ROUGHEN:
tc->_message_context->setF(Inkscape::NORMAL_MESSAGE,
- _("<b>Roughening %d</b> selected path(s)"), num);
+ _("<b>Roughening %d</b> selected object(s)"), num);
break;
}
}