[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.1.1.4-141-g1f56909
X2Go dev team
git-admin at x2go.org
Wed Jan 8 15:30:54 CET 2014
The branch, build-baikal has been updated
via 1f56909114c7056270586a3481d278c4faad4218 (commit)
from ea7ea6507c14479933a643257d9496fa58727da9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 1 +
x2go/printactions.py | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 59fedfd..2a5d24b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -48,6 +48,7 @@ python-x2go (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
- Fix availablity check of client-side folder sharing.
- Add support for published applications with no category submenus. Fix
default language in published applications menu tree.
+ - Fix X2Go printing, do not spawn a gevent process for printing.
* Depend on python-xlib.
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Sat, 28 Sep 2012 01:44:21 +0100
diff --git a/x2go/printactions.py b/x2go/printactions.py
index 45504e9..793ceea 100644
--- a/x2go/printactions.py
+++ b/x2go/printactions.py
@@ -130,7 +130,7 @@ class X2goPrintAction(object):
@type spool_dir: C{str}
"""
- gevent.spawn(self._do_print, pdf_file, job_title, spool_dir)
+ self._do_print(pdf_file, job_title, spool_dir)
def _humanreadable_filename(self, pdf_file, job_title, target_path):
"""\
@@ -200,7 +200,7 @@ class X2goPrintActionPDFVIEW(X2goPrintAction):
if _X2GOCLIENT_OS == "Windows":
self.logger('viewing incoming job in PDF viewer with Python\'s os.startfile( command): %s' % pdf_file, loglevel=log.loglevel_DEBUG)
try:
- os.startfile(pdf_file)
+ gevent.spawn(os.startfile, pdf_file)
except WindowsError, win_err:
if self.client_instance:
self.client_instance.HOOK_printaction_error(pdf_file,
hooks/post-receive
--
python-x2go.git (Python X2Go Client API)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-x2go.git" (Python X2Go Client API).
More information about the x2go-commits
mailing list