diff --git a/gramps/src/PedView.py b/gramps/src/PedView.py index 37f7080ca..fe8b1af82 100644 --- a/gramps/src/PedView.py +++ b/gramps/src/PedView.py @@ -301,9 +301,11 @@ class PedigreeView: return 1 elif event.type == GDK.ENTER_NOTIFY: self.expand_box(obj) + return 0 elif event.type == GDK.LEAVE_NOTIFY: self.shrink_box(obj) - + return 0 + return 0 def shrink_box(self,obj): """Shrink an exanded box back down to normal size""" diff --git a/gramps/src/PlaceView.py b/gramps/src/PlaceView.py index 1e3dbf3a6..da38cccf0 100644 --- a/gramps/src/PlaceView.py +++ b/gramps/src/PlaceView.py @@ -31,13 +31,6 @@ import GTK import GDK import gnome.ui -#------------------------------------------------------------------------- -# -# Standard python modules -# -#------------------------------------------------------------------------- -import string - #------------------------------------------------------------------------- # # Gramps modules