Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: X2Go dev team <git-admin-P0WSJaAXTow <at> public.gmane.org>
Subject: python-x2go.git - master (branch) updated: 0.2.0.10-18-gcf9e6e3
Newsgroups: gmane.linux.terminal-server.x2go.scm
Date: Tuesday 2nd October 2012 15:42:04 UTC (over 4 years ago)
The branch, master has been updated
       via  cf9e6e3eaf59710e86d896a5cd80d122a1afa3e8 (commit)
      from  a737395d986559888c214c894cce07d614bab78a (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 -----------------------------------------------------------------
commit cf9e6e3eaf59710e86d896a5cd80d122a1afa3e8
Author: Mike Gabriel

Date:   Tue Oct 2 17:41:55 2012 +0200

    follow-up fix for last commit

-----------------------------------------------------------------------

Summary of changes:
 x2go/backends/terminal/_stdout.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

The diff of changes is:
diff --git a/x2go/backends/terminal/_stdout.py
b/x2go/backends/terminal/_stdout.py
index 4055f09..3c70978 100644
--- a/x2go/backends/terminal/_stdout.py
+++ b/x2go/backends/terminal/_stdout.py
@@ -1376,9 +1376,9 @@ class X2goTerminalSessionSTDOUT(object):
 
         if self.params.geometry == 'maximize':
             _geometry = utils.get_workarea_geometry()
-            if len(_geometry) != 2:
+            if _geometry and len(_geometry) != 2:
                 _geometry = utils.get_desktop_geometry()
-            if len(_geometry) == 2:
+            if _geometry and len(_geometry) == 2:
                 self.params.geometry = "%sx%s" % _geometry
             else:
                 self.logger('failed to detect best maxmimized geometry of
your client-side desktop', loglevel=log.loglevel_WARN)
@@ -1469,9 +1469,9 @@ class X2goTerminalSessionSTDOUT(object):
 
         if self.params.geometry == 'maximize':
             _geometry = utils.get_workarea_geometry()
-            if len(_geometry) != 2:
+            if _geometry and len(_geometry) != 2:
                 _geometry = utils.get_desktop_geometry()
-            if len(_geometry) == 2:
+            if _geometry and len(_geometry) == 2:
                 self.params.geometry = "%sx%s" % _geometry
             else:
                 self.logger('failed to detect best maxmimized geometry of
your client-side desktop', loglevel=log.loglevel_WARN)


hooks/post-receive
 
CD: 17ms