From 969f5cc265e9ee4d7f1609c35f4f2423d541b94a Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 21 Mar 2009 12:54:51 -0400 Subject: [PATCH] Make shift-middle-click work as intended. --- pyfpdb/Mucked.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyfpdb/Mucked.py b/pyfpdb/Mucked.py index fe2baa71..6bc6a58a 100755 --- a/pyfpdb/Mucked.py +++ b/pyfpdb/Mucked.py @@ -54,7 +54,10 @@ class Aux_Window: pass def destroy(self): - self.container.destroy() + try: + self.container.destroy() + except: + pass ############################################################################ # Some utility routines useful for Aux_Windows @@ -413,6 +416,7 @@ class Flop_Mucked(Aux_Window): if event.state & gtk.gdk.SHIFT_MASK: self.timer_on = False self.expose_all() + return if event.button == 3: # right button event pass