[X2Go-Commits] [pyhoca-gui] 01/01: fix profile COPYing
git-admin at x2go.org
git-admin at x2go.org
Fri Mar 21 01:29:46 CET 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 9d7574c5aeebb927a7b387066de4fdf795158324
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Mar 21 01:29:52 2014 +0100
fix profile COPYing
---
pyhoca/wxgui/profilemanager.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index 1607d2d..24d8997 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -450,12 +450,12 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
if self.action == 'ADD':
self.SetTitle(_(u"%s Profile Manager - new profile") % self._PyHocaGUI.appname)
elif self.action == 'EDIT_CONNECTED':
- if self._PyHocaGUI.session_profiles.is_mutable(self.profile_config['name']):
+ if self._PyHocaGUI.session_profiles.is_mutable(profile_id=self.profile_id):
self.SetTitle(_(u"%s Profile Manager - %s (connected)") % (self._PyHocaGUI.appname, self.profile_config['name']))
else:
self.SetTitle(_(u"%s Profile Manager - %s (connected, immutable)") % (self._PyHocaGUI.appname, self.profile_config['name']))
else:
- if self._PyHocaGUI.session_profiles.is_mutable(self.profile_config['name']):
+ if self._PyHocaGUI.session_profiles.is_mutable(profile_id=self.profile_id):
self.SetTitle(_(u"%s Profile Manager - %s") % (self._PyHocaGUI.appname, self.profile_config['name']))
else:
self.SetTitle(_(u"%s Profile Manager - %s (immutable)") % (self._PyHocaGUI.appname, 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