summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorgustav_b <gustav_b@users.sourceforge.net>2006-10-10 22:02:27 +0000
committergustav_b <gustav_b@users.sourceforge.net>2006-10-10 22:02:27 +0000
commitb4a6023743287d3e39e0df6f16335ef770c8c4b5 (patch)
tree391bb4a4f8cb81789494b6964a96b17b7d90907e /src/splivarot.cpp
parentFiltering now works with text and image objects (diff)
downloadinkscape-b4a6023743287d3e39e0df6f16335ef770c8c4b5.tar.gz
inkscape-b4a6023743287d3e39e0df6f16335ef770c8c4b5.zip
undo annotations
(bzr r1795)
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index 6759515f2..252a2432d 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -1048,8 +1048,11 @@ sp_selected_path_create_offset_object(int expand, bool updating)
{
// pas vraiment de points sur le resultat
// donc il ne reste rien
- sp_document_done(sp_desktop_document(desktop), SP_VERB_NONE,
- _("Create offset object"));
+ sp_document_done(sp_desktop_document(desktop),
+ (updating ? SP_VERB_SELECTION_LINKED_OFFSET
+ : SP_VERB_SELECTION_DYNAMIC_OFFSET),
+ (updating ? _("Create linked offset")
+ : _("Create dynamic offset")));
selection->clear();
delete res;
@@ -1113,8 +1116,11 @@ sp_selected_path_create_offset_object(int expand, bool updating)
selection->set(nitem);
}
- sp_document_done(sp_desktop_document(desktop), SP_VERB_NONE,
- _("Create offset object"));
+ sp_document_done(sp_desktop_document(desktop),
+ (updating ? SP_VERB_SELECTION_LINKED_OFFSET
+ : SP_VERB_SELECTION_DYNAMIC_OFFSET),
+ (updating ? _("Create linked offset")
+ : _("Create dynamic offset")));
delete res;
delete orig;
@@ -1356,8 +1362,9 @@ sp_selected_path_do_offset(bool expand, double prefOffset)
}
if (did) {
- sp_document_done(sp_desktop_document(desktop), SP_VERB_NONE,
- _("Inset/outset path"));
+ sp_document_done(sp_desktop_document(desktop),
+ (expand ? SP_VERB_SELECTION_OFFSET : SP_VERB_SELECTION_INSET),
+ (expand ? _("Outset path") : _("Inset path")));
} else {
desktop->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("<b>No paths</b> to inset/outset in the selection."));
return;