From 2ca22dcba57ccc6a186b2bc29414e4f2a60ea129 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Mon, 8 Apr 2019 15:55:16 +0200 Subject: Make the Inkscape application run as a single instance... expect if --gapplication-app-id is set. This avoids potential problems with copying between documents and prevents race conditions in saving preferences. --- src/inkscape-application.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/inkscape-application.cpp') diff --git a/src/inkscape-application.cpp b/src/inkscape-application.cpp index 1ba4cd0b6..97233f32b 100644 --- a/src/inkscape-application.cpp +++ b/src/inkscape-application.cpp @@ -436,7 +436,11 @@ template ConcreteInkscapeApplication::ConcreteInkscapeApplication() : T("org.inkscape.application.with_gui", Gio::APPLICATION_HANDLES_OPEN | // Use default file opening. - Gio::APPLICATION_NON_UNIQUE ) // Allows different instances of Inkscape to run at same time. + Gio::APPLICATION_CAN_OVERRIDE_APP_ID ) // Allows different instances of + // Inkscape to run at same time using + // --gapplication-app-id (useful for + // debugging different versions of + // Inkscape). , InkscapeApplication() { -- cgit v1.2.3