Mercurial > libervia-backend
comparison frontends/primitivus/profile_manager.py @ 217:b4dfe15c0b25
primitivus: misc comments
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 27 Dec 2010 17:23:36 +0100 |
parents | ec6611445a5b |
children | 3198bfd66daa |
comparison
equal
deleted
inserted
replaced
216:783d6a61e0bd | 217:b4dfe15c0b25 |
---|---|
64 | 64 |
65 def cancelDialog(self, button): | 65 def cancelDialog(self, button): |
66 self.host.removePopUp() | 66 self.host.removePopUp() |
67 | 67 |
68 def newProfile(self, button, edit): | 68 def newProfile(self, button, edit): |
69 """Create the profile""" | |
69 name = edit.get_edit_text() | 70 name = edit.get_edit_text() |
70 self.host.bridge.createProfile(name) | 71 self.host.bridge.createProfile(name) |
71 self.__refillProfiles() | 72 self.__refillProfiles() |
73 #We select the profile created in the list | |
72 self.list_profile.selectValue(name) | 74 self.list_profile.selectValue(name) |
73 self.host.removePopUp() | 75 self.host.removePopUp() |
74 | 76 |
75 def deleteProfile(self, button): | 77 def deleteProfile(self, button): |
76 profile_name = self.list_profile.getSelectedValue() | 78 profile_name = self.list_profile.getSelectedValue() |