Fix ListModel double click event
svn: r22305
This commit is contained in:
parent
4349a4d675
commit
c6ce33c35a
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user