summaryrefslogtreecommitdiffstats
path: root/src/document-undo.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-05-10 01:18:16 +0000
committermental <mental@users.sourceforge.net>2007-05-10 01:18:16 +0000
commit16f043fe27ac5c3790272b530a425ee9323ff21a (patch)
tree4d9a437f8777cf9b1242e272161475753e1cd3d0 /src/document-undo.cpp
parentmake sure microseconds get the right number of decimal places (diff)
downloadinkscape-16f043fe27ac5c3790272b530a425ee9323ff21a.tar.gz
inkscape-16f043fe27ac5c3790272b530a425ee9323ff21a.zip
add document serial numbers
(bzr r2989)
Diffstat (limited to 'src/document-undo.cpp')
-rw-r--r--src/document-undo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/document-undo.cpp b/src/document-undo.cpp
index 8f1dd90ce..0f0a606a1 100644
--- a/src/document-undo.cpp
+++ b/src/document-undo.cpp
@@ -147,6 +147,9 @@ public:
: InteractionEvent(share_static_string("commit"))
{
_addProperty(share_static_string("timestamp"), timestamp());
+ gchar *serial = g_strdup_printf("%ul", doc->serial());
+ _addProperty(share_static_string("document"), serial);
+ g_free(serial);
Verb *verb = Verb::get(type);
if (verb) {
_addProperty(share_static_string("context"), verb->get_id());