summaryrefslogtreecommitdiffstats
path: root/src/text-chemistry.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-06-29 20:15:48 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-06-29 20:15:48 +0000
commitef0a7b603c667abc8599c3abf88c4408acb05228 (patch)
tree7ddfd39557009044f41538d865cf3365e0ffe3fd /src/text-chemistry.cpp
parentSmall bugfixes. (diff)
downloadinkscape-ef0a7b603c667abc8599c3abf88c4408acb05228.tar.gz
inkscape-ef0a7b603c667abc8599c3abf88c4408acb05228.zip
patch from Gustav Broberg: undo annotations and history dialog
(bzr r1315)
Diffstat (limited to 'src/text-chemistry.cpp')
-rw-r--r--src/text-chemistry.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp
index 21c74d1a7..453ddfc19 100644
--- a/src/text-chemistry.cpp
+++ b/src/text-chemistry.cpp
@@ -153,7 +153,8 @@ text_put_on_path()
SP_OBJECT_REPR(text)->setAttribute("x", NULL);
SP_OBJECT_REPR(text)->setAttribute("y", NULL);
- sp_document_done(sp_desktop_document(desktop));
+ sp_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_TEXT,
+ /* TODO: annotate */ "text-chemistry.cpp:157");
g_slist_free(text_reprs);
}
@@ -190,7 +191,8 @@ text_remove_from_path()
sp_desktop_message_stack(desktop)->flash(Inkscape::ERROR_MESSAGE, _("<b>No texts-on-paths</b> in the selection."));
} else {
selection->setList(g_slist_copy((GSList *) selection->itemList())); // reselect to update statusbar description
- sp_document_done(sp_desktop_document(desktop));
+ sp_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_TEXT,
+ /* TODO: annotate */ "text-chemistry.cpp:195");
}
}
@@ -237,7 +239,8 @@ text_remove_all_kerns()
if (!did) {
sp_desktop_message_stack(desktop)->flash(Inkscape::ERROR_MESSAGE, _("Select <b>text(s)</b> to remove kerns from."));
} else {
- sp_document_done(sp_desktop_document(desktop));
+ sp_document_done(sp_desktop_document(desktop), SP_VERB_CONTEXT_TEXT,
+ /* TODO: annotate */ "text-chemistry.cpp:243");
}
}
@@ -305,7 +308,8 @@ text_flow_into_shape()
SP_OBJECT(text)->deleteObject (true);
- sp_document_done(doc);
+ sp_document_done(doc, SP_VERB_CONTEXT_TEXT,
+ /* TODO: annotate */ "text-chemistry.cpp:312");
sp_desktop_selection(desktop)->set(SP_ITEM(root_object));
@@ -390,7 +394,8 @@ text_unflow ()
g_slist_free (old_objs);
g_slist_free (new_objs);
- sp_document_done(doc);
+ sp_document_done(doc, SP_VERB_CONTEXT_TEXT,
+ /* TODO: annotate */ "text-chemistry.cpp:398");
}