Move from object references to IDs

svn: r2822
This commit is contained in:
Don Allingham
2004-02-14 05:40:30 +00:00
parent 0c30564388
commit 015973462a
110 changed files with 5349 additions and 5292 deletions

View File

@@ -83,7 +83,7 @@ class Bookmarks :
def add_to_menu(self,person):
"""adds a person's name to the drop down menu"""
item = gtk.MenuItem(person.getPrimaryName().getName())
item = gtk.MenuItem(person.get_primary_name().get_name())
item.connect("activate", self.callback, person)
item.show()
self.myMenu.append(item)
@@ -141,7 +141,7 @@ class Bookmarks :
self.draw_window()
index = 0
for person in self.bookmarks:
self.namelist.append([person.getPrimaryName().getName()])
self.namelist.append([person.get_primary_name().get_name()])
self.namelist.set_row_data(index,person)
index = index + 1