* src/DisplayState.py: Simplify ID generation for UIManager.

* src/EditPerson.py: Use id(self) instead of self.
* src/EditPlace.py: Use id(self) instead of self.
* src/EditSource.py: Use id(self) instead of self.
* src/EventEdit.py: Use id(self) instead of self.


svn: r5625
This commit is contained in:
Alex Roitman
2005-12-23 20:09:02 +00:00
parent d9a3675fa0
commit 2ed1502dad
6 changed files with 20 additions and 15 deletions

View File

@@ -267,7 +267,7 @@ class EditPlace(DisplayState.ManagedWindow):
if place:
return place.get_handle()
else:
return self
return id(self)
def build_menu_names(self,place):
win_menu_label = place.get_title()