From ef0a7b603c667abc8599c3abf88c4408acb05228 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Thu, 29 Jun 2006 20:15:48 +0000 Subject: patch from Gustav Broberg: undo annotations and history dialog (bzr r1315) --- src/file.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/file.cpp') diff --git a/src/file.cpp b/src/file.cpp index 679c28801..0ad55e2ac 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -511,7 +511,8 @@ sp_file_vacuum() unsigned int diff = vacuum_document (doc); - sp_document_done(doc); + sp_document_done(doc, SP_VERB_FILE_VACUUM, + /* TODO: annotate */ "file.cpp:515"); SPDesktop *dt = SP_ACTIVE_DESKTOP; if (diff > 0) { @@ -895,7 +896,8 @@ file_import(SPDocument *in_doc, gchar const *uri, Inkscape::Extension::Extension } sp_document_unref(doc); - sp_document_done(in_doc); + sp_document_done(in_doc, SP_VERB_FILE_IMPORT, + /* TODO: annotate */ "file.cpp:900"); } else { gchar *text = g_strdup_printf(_("Failed to load the requested file %s"), uri); -- cgit v1.2.3