[gimp] plug-ins: disable file-uri if the GIMP_HANDLE_REMOTE_FILES env variable is set
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: disable file-uri if the GIMP_HANDLE_REMOTE_FILES env variable is set
- Date: Thu, 10 Jul 2014 23:55:35 +0000 (UTC)
commit af40c076d4bca2f89ef7577ae698e504a3b03b1e
Author: Michael Natterer <mitch gimp org>
Date: Fri Jul 11 01:45:42 2014 +0200
plug-ins: disable file-uri if the GIMP_HANDLE_REMOTE_FILES env variable is set
plug-ins/file-uri/uri.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/file-uri/uri.c b/plug-ins/file-uri/uri.c
index 640dcc0..6991338 100644
--- a/plug-ins/file-uri/uri.c
+++ b/plug-ins/file-uri/uri.c
@@ -100,6 +100,9 @@ query (void)
GError *error = NULL;
+ if (g_getenv ("GIMP_HANDLE_REMOTE_FILES"))
+ return;
+
if (! uri_backend_init (PLUG_IN_BINARY,
FALSE,
GIMP_RUN_NONINTERACTIVE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]