Exemplo n.º 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)
Exemplo n.º 2
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)
Exemplo n.º 3
0
	def deleteCallback(self, result, server):
		if result:
			#self.vlcServerConfig.delete(self.serverlist.getSelection())
			vlcServerConfig.delete(self.serverlist.getSelection())
			self.updateServerlist()
Exemplo n.º 4
0
	def deleteCallback(self, result, server):
		if result:
			#self.vlcServerConfig.delete(self.serverlist.getSelection())
			vlcServerConfig.delete(self.serverlist.getSelection())
			self.updateServerlist()