From c6ce33c35a8057927f79100c1924717ca3c369d7 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Tue, 14 May 2013 18:13:15 +0000 Subject: [PATCH] Fix ListModel double click event svn: r22305 --- gramps/gui/listmodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/listmodel.py b/gramps/gui/listmodel.py index d6da23304..c19f6903f 100644 --- a/gramps/gui/listmodel.py +++ b/gramps/gui/listmodel.py @@ -130,7 +130,7 @@ class ListModel(object): self.selection.connect('changed', select_func) if event_func: self.double_click = event_func - self.tree.connect('event', self.__button_press) + self.tree.connect('button-press-event', self.__button_press) def __build_image_column(self, cnum, name, renderer, column): renderer = Gtk.CellRendererPixbuf()