2007-06-25 Don Allingham <don@gramps-project.org>

* src/DisplayTabs/_AddrEmbedList.py: pylint
	* src/DisplayTabs/_AddressModel.py: pylint
	* src/DisplayTabs/_WebModel.py: pylint



svn: r8670
This commit is contained in:
Don Allingham
2007-06-26 03:43:01 +00:00
parent 88f21179fe
commit ef7a215d1b
4 changed files with 63 additions and 13 deletions

View File

@@ -20,6 +20,10 @@
# $Id$
"""
The TreeModel for the Address list in the Address Tab.
"""
#-------------------------------------------------------------------------
#
# GTK libraries
@@ -40,10 +44,16 @@ import DateHandler
#
#-------------------------------------------------------------------------
class AddressModel(gtk.ListStore):
"""
AddressModel derives from the ListStore, defining te items in the list
"""
def __init__(self, obj_list, db):
def __init__(self, obj_list, dbase):
"""
AddressModel derives from the ListStore, defining te items in the list
"""
gtk.ListStore.__init__(self, str, str, str, str, str, object)
self.db = db
self.db = dbase
for obj in obj_list:
self.append(row=[
DateHandler.get_date(obj),