Example #1
0
	def addCallback(self, result, server):
		if result:
			#self.vlcServerConfig.save(server)
			vlcServerConfig.save(server)
			self.updateServerlist()
		else:
			#self.vlcServerConfig.delete(server)
			vlcServerConfig.delete(server)
	def addCallback(self, result, server):
		if result:
			#self.vlcServerConfig.save(server)
			vlcServerConfig.save(server)
			self.updateServerlist()
		else:
			#self.vlcServerConfig.delete(server)
			vlcServerConfig.delete(server)
Example #3
0
	def deleteCallback(self, result, server):
		if result:
			#self.vlcServerConfig.delete(self.serverlist.getSelection())
			vlcServerConfig.delete(self.serverlist.getSelection())
			self.updateServerlist()
	def deleteCallback(self, result, server):
		if result:
			#self.vlcServerConfig.delete(self.serverlist.getSelection())
			vlcServerConfig.delete(self.serverlist.getSelection())
			self.updateServerlist()