* src/Editors/_EditPlace.py: fixed name of street MonitoredEntry

* src/Editors/_EditLocation.py: fixed name of street MonitoredEntry
	MonitoredEntry field for street wrongly named as city. Caused strange
	occasional drag and drop bug. issue #1304

2007-10-28 Gary Burton <gary.burton@zen.co.uk>


svn: r9262
This commit is contained in:
Gary Burton 2007-10-28 21:51:00 +00:00
parent 953e67aaf5
commit d2f90213c2
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-10-28 Gary Burton <gary.burton@zen.co.uk>
* src/Editors/_EditPlace.py: fixed name of street MonitoredEntry
* src/Editors/_EditLocation.py: fixed name of street MonitoredEntry
MonitoredEntry field for street wrongly named as city. Caused strange
occasional drag and drop bug. issue #1304
2007-10-28 Gary Burton <gary.burton@zen.co.uk> 2007-10-28 Gary Burton <gary.burton@zen.co.uk>
* src/DisplayTabs/_EnbeddedList.py: Fixed crash when doing a drag and * src/DisplayTabs/_EnbeddedList.py: Fixed crash when doing a drag and
drop with an object that was deleted from a list. issue # 1326 drop with an object that was deleted from a list. issue # 1326

View File

@ -59,7 +59,7 @@ class EditLocation(EditSecondary):
_('Location Editor')) _('Location Editor'))
def _setup_fields(self): def _setup_fields(self):
self.city = MonitoredEntry( self.street = MonitoredEntry(
self.top.get_widget("street"), self.top.get_widget("street"),
self.obj.set_street, self.obj.set_street,
self.obj.get_street, self.obj.get_street,

View File

@ -95,7 +95,7 @@ class EditPlace(EditPrimary):
self.obj.set_title, self.obj.get_title, self.obj.set_title, self.obj.get_title,
self.db.readonly) self.db.readonly)
self.city = MonitoredEntry( self.street = MonitoredEntry(
self.top.get_widget("street"), self.top.get_widget("street"),
mloc.set_street, mloc.get_street, self.db.readonly) mloc.set_street, mloc.get_street, self.db.readonly)