GTK3: enable double click to edit person in descendant browser
svn: r20301
This commit is contained in:
parent
43b2d6831a
commit
6a76f51f75
@ -89,7 +89,7 @@ class DesBrowse(tool.ActivePersonTool, ManagedWindow):
|
|||||||
self.tree.append_column(col)
|
self.tree.append_column(col)
|
||||||
self.tree.set_rules_hint(True)
|
self.tree.set_rules_hint(True)
|
||||||
self.tree.set_headers_visible(False)
|
self.tree.set_headers_visible(False)
|
||||||
self.tree.connect('event',self.button_press_event)
|
self.tree.connect('button-press-event', self.button_press_event)
|
||||||
self.make_new_model()
|
self.make_new_model()
|
||||||
|
|
||||||
self.show()
|
self.show()
|
||||||
|
@ -37,6 +37,7 @@ from gen.ggettext import gettext as _
|
|||||||
# GNOME libraries
|
# GNOME libraries
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
from gi.repository import Gdk
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user