diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-06-29 20:15:48 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-06-29 20:15:48 +0000 |
| commit | ef0a7b603c667abc8599c3abf88c4408acb05228 (patch) | |
| tree | 7ddfd39557009044f41538d865cf3365e0ffe3fd /src/path-chemistry.cpp | |
| parent | Small bugfixes. (diff) | |
| download | inkscape-ef0a7b603c667abc8599c3abf88c4408acb05228.tar.gz inkscape-ef0a7b603c667abc8599c3abf88c4408acb05228.zip | |
patch from Gustav Broberg: undo annotations and history dialog
(bzr r1315)
Diffstat (limited to 'src/path-chemistry.cpp')
| -rw-r--r-- | src/path-chemistry.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index ba181476f..61e61bee3 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -135,7 +135,8 @@ sp_selected_path_combine(void) // move to the position of the topmost, reduced by the number of deleted items repr->setPosition(topmost > 0 ? topmost + 1 : 0); - sp_document_done(sp_desktop_document(desktop)); + sp_document_done(sp_desktop_document(desktop), SP_VERB_SELECTION_COMBINE, + /* TODO: annotate */ "path-chemistry.cpp:139"); selection->set(repr); @@ -228,7 +229,8 @@ sp_selected_path_break_apart(void) } if (did) { - sp_document_done(sp_desktop_document(desktop)); + sp_document_done(sp_desktop_document(desktop), SP_VERB_SELECTION_BREAK_APART, + /* TODO: annotate */ "path-chemistry.cpp:233"); } else { sp_desktop_message_stack(desktop)->flash(Inkscape::ERROR_MESSAGE, _("<b>No path(s)</b> to break apart in the selection.")); return; @@ -294,7 +296,8 @@ sp_selected_path_to_curves0(gboolean interactive, guint32 text_grouping_policy) if (interactive) { if (did) { - sp_document_done(sp_desktop_document(desktop)); + sp_document_done(sp_desktop_document(desktop), SP_VERB_OBJECT_TO_CURVE, + /* TODO: annotate */ "path-chemistry.cpp:300"); } else { sp_desktop_message_stack(desktop)->flash(Inkscape::ERROR_MESSAGE, _("<b>No objects</b> to convert to path in the selection.")); return; @@ -371,7 +374,8 @@ sp_selected_path_reverse() } if (did) { - sp_document_done(sp_desktop_document(desktop)); + sp_document_done(sp_desktop_document(desktop), SP_VERB_SELECTION_REVERSE, + /* TODO: annotate */ "path-chemistry.cpp:378"); } else { sp_desktop_message_stack(desktop)->flash(Inkscape::ERROR_MESSAGE, _("<b>No paths</b> to reverse in the selection.")); } |
