[X2Go-Commits] pyhoca-gui.git - master (branch) updated: 0.4.0.7-3-ga602a61

X2Go dev team git-admin at x2go.org
Tue Aug 27 17:49:04 CEST 2013


The branch, master has been updated
       via  a602a617df4c6a8ae546c898f7982b51661386f2 (commit)
      from  d8dbf074e40c5571e1868bd88311a25c9090fc0b (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 a602a617df4c6a8ae546c898f7982b51661386f2
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Aug 27 17:49:02 2013 +0200

    Fix updating/editing session profiles.

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

Summary of changes:
 debian/changelog               |    3 ++-
 pyhoca/wxgui/profilemanager.py |    3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index b1d3462..2d8b0a6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 pyhoca-gui (0.4.0.8-0~x2go1) UNRELEASED; urgency=low
 
-  * Continue development...
+  * New upstream version (0.4.0.8):
+    - Fix updating/editing session profiles.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Mon, 26 Aug 2013 14:57:59 +0200
 
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index 6c5ad65..35ff313 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -2407,6 +2407,9 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
 
                 if self.action in ('ADD', 'COPY'):
                     self.profile_id = self.session_profiles.add_profile(**self.profile_config)
+                else:
+                    for k in self.profile_config.keys():
+                        self.session_profiles.update_value(self.profile_id, k, self.profile_config[k])
 
                 self.session_profiles.write_user_config = True
                 self.session_profiles.write()


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