mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Merge heads
This commit is contained in:
commit
911f781687
File diff suppressed because it is too large
Load Diff
@ -306,9 +306,7 @@ class GRFBViewer(gtk.DrawingArea):
|
||||
return self.fb.get_name()
|
||||
|
||||
def connect_to_host(self, host, port, debug=0):
|
||||
if self.client != None:
|
||||
self.disconnect_from_host()
|
||||
self.client = NOne
|
||||
self.disconnect_from_host()
|
||||
|
||||
client = GRFBNetworkClient(host, port, self.fb, debug=debug, preferred_encoding=self.preferred_encoding)
|
||||
client.connect("disconnected", self._client_disconnected)
|
||||
|
Loading…
Reference in New Issue
Block a user