On 4 July 2013 03:46, Martin Owens <doctormo@...400...> wrote:
On Thu, 2013-07-04 at 00:23 +0100, Eric Greveson wrote:
> The only real difference is that you should start Inkscape with
> "inkscape <file.svg> -z --dbus-listen" and then use the
> "get_active_document()" DBus method on the "/org/inkscape/application"
> interface.

Does this mean that a normal gui inkscape won't have dbus enabled?

A normal GUI inkscape will still have DBus enabled without using the --dbus-listen flag. The flag is only required in console mode because it the app needs to start a main-loop to listen for messages: in normal console mode, the app processes all commands and exits immediately.


NP, Review done.

Thanks! Making changes to the code to address the issues you've highlighted now.
 

> On another note, I wonder if the --enable-dbusapi flag might be
> enabled in future release builds of Inkscape

I would certainly support a move to enable it for Linux/Mac users, or
just linux users if that's the easiest for now. With more use, getting
it working and packaged correctly for windows would be easier to argue.
Where as it's languishing at the moment.

I still need to test the new code on Windows. Will see if I can get round to doing that today, it would be nice if all platforms supported the same feature set!

Eric