[Libreoffice-commits] .: solenv/bin
Michael Meeks
mmeeks at kemper.freedesktop.org
Wed Jan 5 05:36:31 PST 2011
solenv/bin/build.pl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 3ffc7954a40260600f854c352c5eea38c87c2284
Author: Michael Meeks <michael.meeks at novell.com>
Date: Wed Jan 5 13:36:37 2011 +0000
only enable zenity for local (unix socket) displays
diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl
index 51bb46f..0f5c385 100755
--- a/solenv/bin/build.pl
+++ b/solenv/bin/build.pl
@@ -2103,9 +2103,10 @@ sub print_announce {
};
sub zenity_enabled {
- return 0 if (!defined $ENV{DISPLAY});
return 0 if ($ENV{ENABLE_ZENITY} ne "TRUE");
- return 1;
+ return 0 if (!defined $ENV{DISPLAY});
+ return 1 if ($ENV{DISPLAY} =~ m/^:/); # local displays only
+ return 0;
}
sub zenity_open {
More information about the Libreoffice-commits
mailing list