middle-click to reconnect

This commit is contained in:
Josh Holtrop 2011-07-13 09:44:37 -04:00
parent f101f67a30
commit 403867b2eb

View File

@ -138,6 +138,9 @@ class Window(object):
return False
def button_release(self, widget, event):
if event.button == 3:
if event.button == 2:
self.disconnect()
self.connect()
elif event.button == 3:
self.destroy_event()
return True