summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f3ed0d3)
raw | patch | inline | side by side (parent: f3ed0d3)
author | mental <mental@users.sourceforge.net> | |
Thu, 10 May 2007 01:18:56 +0000 (01:18 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Thu, 10 May 2007 01:18:56 +0000 (01:18 +0000) |
src/helper/action.cpp | patch | blob | history |
diff --git a/src/helper/action.cpp b/src/helper/action.cpp
index d67bc5fc2a8e08d25caf0145e056371e8ff09141..9b8cbfce80e3500e26cedd4c499f209957496609 100644 (file)
--- a/src/helper/action.cpp
+++ b/src/helper/action.cpp
#include "debug/timestamp.h"
#include "debug/simple-event.h"
#include "debug/event-tracker.h"
+#include "ui/view/view.h"
+#include "document.h"
#include "helper/action.h"
static void sp_action_class_init (SPActionClass *klass);
: ActionEventBase(share_static_string("action"))
{
_addProperty(share_static_string("timestamp"), timestamp());
+ SPDocument *document = action->view->doc();
+ if (document) {
+ _addProperty(share_static_string("document"), document->serial());
+ }
_addProperty(share_static_string("verb"), action->id);
}
};