summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2008-03-15 08:42:17 +0000
committerjoncruz <joncruz@users.sourceforge.net>2008-03-15 08:42:17 +0000
commit4f03963c836bafe2111044527c7e8c8af11a3e1d (patch)
tree285cfdd28abb597f04814c19b4153c7e7e06256b /src/desktop.cpp
parentskip writing stroke/fill properties when stroke/fill is none (diff)
downloadinkscape-4f03963c836bafe2111044527c7e8c8af11a3e1d.tar.gz
inkscape-4f03963c836bafe2111044527c7e8c8af11a3e1d.zip
Split data mode apart from UI and added button trackers
(bzr r5092)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index f9d17b01a..922da935d 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -84,6 +84,7 @@
#include "ui/dialog/dialog-manager.h"
#include "xml/repr.h"
#include "message-context.h"
+#include "device-manager.h"
#include "layer-manager.h"
#include "event-log.h"
#include "display/canvas-grid.h"
@@ -164,6 +165,9 @@ SPDesktop::SPDesktop() :
void
SPDesktop::init (SPNamedView *nv, SPCanvas *aCanvas)
{
+ // Temporary workaround for link order issues:
+ Inkscape::DeviceManager::getManager().getDevices();
+
_guides_message_context = new Inkscape::MessageContext(const_cast<Inkscape::MessageStack*>(messageStack()));
current = sp_repr_css_attr_inherited (inkscape_get_repr (INKSCAPE, "desktop"), "style");