Code

Added code to add a DBus interface for every desktop created.
authorglimmer07 <glimmer07@users.sourceforge.net>
Sun, 12 Jul 2009 16:57:36 +0000 (16:57 +0000)
committerglimmer07 <glimmer07@users.sourceforge.net>
Sun, 12 Jul 2009 16:57:36 +0000 (16:57 +0000)
src/file.cpp

index 049c1acb405313bce8ad55075074075720e742cc..7acd5fe5d8abc9b8e7eaa3aed9ff95a43d9b86cc 100644 (file)
@@ -42,6 +42,7 @@
 #include "extension/input.h"
 #include "extension/output.h"
 #include "extension/system.h"
+#include "extension/dbus/dbus-init.h"
 #include "file.h"
 #include "helper/png-write.h"
 #include "id-clash.h"
@@ -136,6 +137,7 @@ sp_file_new(const Glib::ustring &templ)
         sp_namedview_window_from_document(dt);
         sp_namedview_update_layers_from_document(dt);
     }
+    Inkscape::Extension::Dbus::dbus_init_desktop_interface(dt);
     return dt;
 }