[X2Go-Commits] [pyhoca-gui] 02/02: In session profile manager GUI: handle multiple clicks on the Apply button gracefully.

git-admin at x2go.org git-admin at x2go.org
Wed Apr 16 13:11:37 CEST 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit 7ace2911de6d83b9cb9b9890bdae911a4212112d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Apr 16 13:11:33 2014 +0200

    In session profile manager GUI: handle multiple clicks on the Apply button gracefully.
---
 debian/changelog               |    2 ++
 pyhoca/wxgui/profilemanager.py |    1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index faea3d7..b1fc426 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -52,6 +52,8 @@ pyhoca-gui (0.5.0.0-0x2go1) UNRELEASED; urgency=low
     - Gray-out Apply button in session profile GUI on profile creation.
     - Windows builder: Explicitly add the requests module to the set of
       bundled Python modules.
+    - In session profile manager GUI: handle multiple clicks on the Apply button
+      gracefully.
     - Update English / German translation.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 08 Jan 2014 21:28:37 +0100
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index 1b57b7b..287f3e2 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -2443,6 +2443,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
 
                 self.session_profiles.write_user_config = True
                 self.session_profiles.write()
+                self.profile_id = self.session_profiles.to_profile_id(self.profile_config['name'])
 
                 if self.action == 'ADD':
                     self._PyHocaGUI.notifier.send(title=_(u'%s - profile added') % self.profile_config['name'],

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git



More information about the x2go-commits mailing list