[X2Go-Commits] [nx-libs] 273/429: nxcomp/Children.cpp: display dialog text in output
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:47 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit d7a49834ea4b3fbe9703cdd408b1a4b4a36a1636
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Sun Feb 28 21:38:25 2021 +0100
nxcomp/Children.cpp: display dialog text in output
This ensures the dialog text is visible in the log which is useful
when the dialog display tool (nxclient, nxdialog, ...) fails or
cannot be found.
Fixes ArcticaProject/nx-libs#915
---
nxcomp/src/Children.cpp | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/nxcomp/src/Children.cpp b/nxcomp/src/Children.cpp
index 036cffa95..40eccd9da 100644
--- a/nxcomp/src/Children.cpp
+++ b/nxcomp/src/Children.cpp
@@ -216,7 +216,15 @@ int NXTransDialog(const char *caption, const char *message,
UnsetEnv("LD_LIBRARY_PATH");
- for (int i = 0; i < 2; i++)
+ if (!pulldown)
+ {
+ cerr << "Info: Upcoming dialog:\n"
+ << "/-----------------------------------------------------------\n"
+ << caption << ":\n"
+ << message << "\n"
+ << "\\-----------------------------------------------------------\n";
+ }
+
{
if (local != 0)
{
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list