Fix ListModel double click event

svn: r22306
This commit is contained in:
Nick Hall 2013-05-14 18:13:27 +00:00
parent 076fdac5a7
commit 574384268e

View File

@ -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()