2008-02-24 Gary Burton <gary.burton@zen.co.uk>

* src/Selectors/_SelectPerson.py: Let return key close search field.
	Bug #1728

2008-02-24 Gary Burton <gary.burton@zen.co.uk>


svn: r10109
This commit is contained in:
Gary Burton 2008-02-24 21:18:49 +00:00
parent 20426f36e3
commit ece26c420f
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2008-02-24 Gary Burton <gary.burton@zen.co.uk>
* src/Selectors/_SelectPerson.py: Let return key close search field.
Bug #1728
2008-02-24 Raphael Ackermann <raphael.ackermann@gmail.com> 2008-02-24 Raphael Ackermann <raphael.ackermann@gmail.com>
* Editors/_EditRepository.py * Editors/_EditRepository.py
* Editors/_EditFamily.py * Editors/_EditFamily.py
@ -19,7 +23,7 @@
add Up and Down buttons to the tabs. Added individual tooltips for buttons add Up and Down buttons to the tabs. Added individual tooltips for buttons
0001807: Missing buttons MoveUp, MoveDown on a Events list in a person... 0001807: Missing buttons MoveUp, MoveDown on a Events list in a person...
2008-02-22 Gary Burton <gary.burton@zen.co.uk> 2008-02-24 Gary Burton <gary.burton@zen.co.uk>
* src/Editors/_EditPerson.py: Fixed crash on clicking OK to save name * src/Editors/_EditPerson.py: Fixed crash on clicking OK to save name
change. Bug #1783 change. Bug #1783

View File

@ -184,10 +184,9 @@ class SelectPerson(ManagedWindow.ManagedWindow):
else: else:
self.plist.expand_row(paths[0], 0) self.plist.expand_row(paths[0], 0)
return True return True
else:
self.window.response(gtk.RESPONSE_OK)
return True
return False return False
def _on_row_activated(self, treeview, path, view_col): def _on_row_activated(self, treeview, path, view_col):
self.window.response(gtk.RESPONSE_OK) store, paths = self.selection.get_selected_rows()
if paths and len(paths[0]) == 2 :
self.window.response(gtk.RESPONSE_OK)