summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-08-08 17:27:51 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-08-08 17:27:51 +0000
commit60d3113d1f022a3de7cf04c7979d4751b3fe21f6 (patch)
treeca33e2a9a1af6b5911598fa1c6a1d77087b71dd2 /src/file.cpp
parentMinor cleanups (diff)
parentAdd a constrained snap method that takes multiple constraints. This reduces t... (diff)
downloadinkscape-60d3113d1f022a3de7cf04c7979d4751b3fe21f6.tar.gz
inkscape-60d3113d1f022a3de7cf04c7979d4751b3fe21f6.zip
merge from trunk
(bzr r9508.1.52)
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/file.cpp b/src/file.cpp
index e0ecd5084..50fcd3642 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -68,6 +68,10 @@
# include <libgnomevfs/gnome-vfs.h>
#endif
+#ifdef WITH_DBUS
+#include "extension/dbus/dbus-init.h"
+#endif
+
//#ifdef WITH_INKBOARD
//#include "jabber_whiteboard/session-manager.h"
//#endif
@@ -135,6 +139,11 @@ sp_file_new(const Glib::ustring &templ)
sp_namedview_window_from_document(dt);
sp_namedview_update_layers_from_document(dt);
}
+
+#ifdef WITH_DBUS
+ Inkscape::Extension::Dbus::dbus_init_desktop_interface(dt);
+#endif
+
return dt;
}