Mercurial > libervia-backend
diff frontends/sat_bridge_frontend/DBus.py @ 68:9b842086d915
multiple profiles update
- Wix: new profile managed, it appear at launch in place of the contact list, and disappear once the profile is choosen
- SàT: default profile is now saved, first one is choosed is no default profile
- Bridge: new delete profile method
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 25 Feb 2010 17:09:18 +1100 |
parents | 0e50dd3a234a |
children | f271fff3a713 |
line wrap: on
line diff
--- a/frontends/sat_bridge_frontend/DBus.py Thu Feb 04 01:06:36 2010 +1100 +++ b/frontends/sat_bridge_frontend/DBus.py Thu Feb 25 17:09:18 2010 +1100 @@ -46,8 +46,11 @@ def getProfilesList(self): return self.db_req_iface.getProfilesList() - def createProfile(self, profile): - return self.db_req_iface.getProfileName(profile) + def createProfile(self, name): + return self.db_req_iface.createProfile(name) + + def deleteProfile(self, name): + return self.db_req_iface.deleteProfile(name) def connect(self, profile_key='@DEFAULT@'): return self.db_comm_iface.connect(profile_key)