From 8b773a2aa2b2d3cca399f6afb05c40942ff258bf Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 8 Aug 2007 21:54:39 +0000 Subject: [PATCH] copyedit, warning suppression --- src/tweak-context.cpp | 13 +++++++------ 1 file 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, _("Select paths to tweak")); + tc->_message_context->set(Inkscape::NORMAL_MESSAGE, _("Select objects to tweak")); } else { switch (tc->mode) { case TWEAK_MODE_PUSH: tc->_message_context->setF(Inkscape::NORMAL_MESSAGE, - _("Pushing %d selected path(s)"), num); + _("Pushing %d selected object(s)"), num); break; case TWEAK_MODE_SUCK: tc->_message_context->setF(Inkscape::NORMAL_MESSAGE, - _("Melting %d selected path(s)"), num); + _("Melting %d selected object(s)"), num); break; case TWEAK_MODE_BLOW: tc->_message_context->setF(Inkscape::NORMAL_MESSAGE, - _("Blowing %d selected path(s)"), num); + _("Blowing %d selected object(s)"), num); break; case TWEAK_MODE_ROUGHEN: tc->_message_context->setF(Inkscape::NORMAL_MESSAGE, - _("Roughening %d selected path(s)"), num); + _("Roughening %d selected object(s)"), num); break; } } -- 2.30.2