From: buliabyak Date: Wed, 8 Aug 2007 21:54:39 +0000 (+0000) Subject: copyedit, warning suppression X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8b773a2aa2b2d3cca399f6afb05c40942ff258bf;p=inkscape.git copyedit, warning suppression --- 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; } }