summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4041c6f)
raw | patch | inline | side by side (parent: 4041c6f)
author | gustav_b <gustav_b@users.sourceforge.net> | |
Tue, 10 Oct 2006 22:02:27 +0000 (22:02 +0000) | ||
committer | gustav_b <gustav_b@users.sourceforge.net> | |
Tue, 10 Oct 2006 22:02:27 +0000 (22:02 +0000) |
src/splivarot.cpp | patch | blob | history | |
src/ui/widget/page-sizer.cpp | patch | blob | history |
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index 6759515f2ea710b9d1610929eddd2f958b25d32b..252a2432df4aec993d7f4aae14e35d64a4ebed74 100644 (file)
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
{
// 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;
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;
}
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;
index 2c2f3363bcdc44bcc014d320d128a4c00b773069..ac622ba41a9800117ab965bdab036ec0b86bf165 100644 (file)
SPDocument *doc = sp_desktop_document(SP_ACTIVE_DESKTOP);
sp_document_set_width (doc, w, &_px_unit);
sp_document_set_height (doc, h, &_px_unit);
- sp_document_done (doc, SP_VERB_NONE,
- /* TODO: annotate */ "page-sizer.cpp:301");
+ sp_document_done (doc, SP_VERB_NONE, _("Set page size"));
}
_landscape = ( w > h );