This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository pyhoca-gui. from a75fe21 Make sure new session profiles are mutable in the session profile manager GUI. new cd1bbe1 fix for last commit The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: pyhoca/wxgui/profilemanager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository pyhoca-gui. commit cd1bbe1a29b799a8e305d42a218a582dfd225e60 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Apr 16 10:15:07 2014 +0200 fix for last commit --- pyhoca/wxgui/profilemanager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py index c548cb1..54dae68 100644 --- a/pyhoca/wxgui/profilemanager.py +++ b/pyhoca/wxgui/profilemanager.py @@ -382,7 +382,7 @@ 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) and not self.action.startswith('ADD'): + if self.session_profiles.is_mutable(self.profile_id) or self.action.startswith('ADD'): self.OKButton.SetDefault() else: self.OKButton.Enable(False) @@ -1574,7 +1574,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog): self.SoundPortLabel.Enable(False) self.SoundPort.Enable(False) self.Esd.Enable(False) - if self.session_profiles.is_mutable(self.profile_id) and not self.action.startswith('ADD'): + if self.session_profiles.is_mutable(self.profile_id) or self.action.startswith('ADD'): self.tab_SharedResources.Enable(True) self.RDPServer.Enable(False) _hosts = self.Host.GetValue() @@ -1632,7 +1632,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog): self.DefaultSoundPort.Enable(True) self.DefaultSoundPort.SetValue(True) self.Esd.Enable(True) - if self.session_profiles.is_mutable(self.profile_id) and not self.action.startswith('ADD'): + if self.session_profiles.is_mutable(self.profile_id) or self.action.startswith('ADD'): self.tab_SharedResources.Enable(True) self.RDPServer.SetValue(self.profile_config_bak['rdpserver']) self.RDPOptions.SetValue(self.profile_config_bak['rdpoptions']) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git