[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.1.0.6-21-gf23eebb

X2Go dev team git-admin at x2go.org
Tue Aug 27 13:21:46 CEST 2013


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
       via  f23eebb111e36c056297ae66e16a64b9534ef6a7 (commit)
      from  d1f91922ee400ba9d6e58330ea697e781ce646ef (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 +
 pyhoca/wxgui/profilemanager.py |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 2e1a82c..53823d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ pyhoca-gui (0.1.0.7-0~x2go1) UNRELEASED; urgency=low
       raisure), requires Python X2go >= 0.1.1.5.
     - Provide complete list of compression methods, profile manager GUI
       improved.
+    - Fix for usekbd session profile option, it was misinterpreted before...
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 06 Jul 2011 22:17:10 +0200
 
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index d3f0254..43812bb 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -825,10 +825,10 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
             self.DisplayDPI.Enable(True)
 
         # TODO Fill in the actual DPI
-        self.CurrentKeyBoard.SetValue(self.profile_config['usekbd'])
+        self.CurrentKeyBoard.SetValue(not self.profile_config['usekbd'])
         self.KeyboardLayout.SetValue(self.profile_config['layout'])
         self.KeyboardModel.SetValue(self.profile_config['type'])
-        if self.profile_config['usekbd']:
+        if self.CurrentKeyBoard.GetValue():
             self.KeyboardLayoutLabel.Enable(False)
             self.KeyboardModelLabel.Enable(False)
             self.KeyboardLayout.Enable(False)
@@ -984,7 +984,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
         self.profile_config['setdpi'] = self.SetDisplayDPI.GetValue()
         self.profile_config['dpi'] = self.DisplayDPI.GetValue()
 
-        self.profile_config['usekbd'] = self.CurrentKeyBoard.GetValue()
+        self.profile_config['usekbd'] = not self.CurrentKeyBoard.GetValue()
         self.profile_config['layout'] = self.KeyboardLayout.GetValue()
         self.profile_config['type'] = self.KeyboardModel.GetValue()
 


hooks/post-receive
-- 
pyhoca-gui.git (Python X2Go Client (wxPython GUI))

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 "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).




More information about the x2go-commits mailing list