This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository pyhoca-gui. commit f160cf6b670898a2f2f7932bc8a5ef4af21ba983 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Apr 16 10:17:26 2014 +0200 Gray-out Apply button in session profile GUI on profile creation. --- debian/changelog | 1 + pyhoca/wxgui/profilemanager.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 2069693..9747794 100644 --- a/debian/changelog +++ b/debian/changelog @@ -44,6 +44,7 @@ pyhoca-gui (0.5.0.0-0x2go1) UNRELEASED; urgency=low - Windows PyHoca-GUI.log file: create with PID in file name. On log file creation try removing all old log files that are not still open. - Make sure new session profiles are mutable in the session profile manager GUI. + - Gray-out Apply button in session profile GUI on profile creation. - Update English / German translation. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Wed, 08 Jan 2014 21:28:37 +0100 diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py index 54dae68..07af8ad 100644 --- a/pyhoca/wxgui/profilemanager.py +++ b/pyhoca/wxgui/profilemanager.py @@ -382,8 +382,11 @@ class PyHocaGUI_ProfileManager(wx.Dialog): self.DefaultButton = wx.Button(self, -1, _(u'Reset')) self.ApplyButton = wx.Button(self, -1, _(u"Apply")) self.CancelButton = wx.Button(self, -1, _(u"Cancel")) - if self.session_profiles.is_mutable(self.profile_id) or self.action.startswith('ADD'): + if self.session_profiles.is_mutable(self.profile_id): + self.OKButton.SetDefault() + elif self.action.startswith('ADD'): self.OKButton.SetDefault() + self.ApplyButton.Enable(False) else: self.OKButton.Enable(False) self.ApplyButton.Enable(False) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git