comparison 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
comparison
equal deleted inserted replaced
67:0e50dd3a234a 68:9b842086d915
44 return self.db_req_iface.getProfileName(profile_key) 44 return self.db_req_iface.getProfileName(profile_key)
45 45
46 def getProfilesList(self): 46 def getProfilesList(self):
47 return self.db_req_iface.getProfilesList() 47 return self.db_req_iface.getProfilesList()
48 48
49 def createProfile(self, profile): 49 def createProfile(self, name):
50 return self.db_req_iface.getProfileName(profile) 50 return self.db_req_iface.createProfile(name)
51
52 def deleteProfile(self, name):
53 return self.db_req_iface.deleteProfile(name)
51 54
52 def connect(self, profile_key='@DEFAULT@'): 55 def connect(self, profile_key='@DEFAULT@'):
53 return self.db_comm_iface.connect(profile_key) 56 return self.db_comm_iface.connect(profile_key)
54 57
55 def disconnect(self, profile_key='@DEFAULT@'): 58 def disconnect(self, profile_key='@DEFAULT@'):