summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2019-09-23 18:14:58 +0000
committerCosimo Cecchi <cosimo.cecchi@gmail.com>2019-09-26 14:46:51 +0000
commit479c4e26cedae2d937a7933e35798d3419a893bd (patch)
treef35cd88321d8dde0ffcc123d3c88982e00a1c403
parentf9399b4a8593d8ecbe865eaad7d1e6f5f79d652c (diff)
downloadnautilus-479c4e26cedae2d937a7933e35798d3419a893bd.tar.gz
nautilus-previewer: Allow auto-starting previewer on call
Using DO_NOT_AUTO_START_ON_CONSTRUCTION gets the desired behavior of not auto-starting the previewer at proxy construction, but allow auto-starting at the first ShowFile call. Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/1229
-rw-r--r--src/nautilus-previewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-previewer.c b/src/nautilus-previewer.c
index 0511dc991..40a02522e 100644
--- a/src/nautilus-previewer.c
+++ b/src/nautilus-previewer.c
@@ -48,7 +48,7 @@ ensure_previewer_v2_proxy (void)
GDBusConnection *connection = g_application_get_dbus_connection (g_application_get_default ());
previewer_v2_proxy = g_dbus_proxy_new_sync (connection,
- G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
+ G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION,
NULL,
PREVIEWER_DBUS_NAME,
PREVIEWER_DBUS_PATH,