gep18: remove print, attr type in two columns for now

svn: r22457
This commit is contained in:
Benny Malengier 2013-05-30 08:31:33 +00:00
parent 30e051a7fe
commit a8ddc8e635
2 changed files with 3 additions and 2 deletions

View File

@ -165,7 +165,6 @@ class SrcTemplateTab(GrampsTab):
Obtain srcattribute with type srcattrtype, where srcattrtype is an
integer key!
"""
print 'get field called'
src = self.src
val = ''
for attr in src.attribute_list:

View File

@ -102,8 +102,10 @@ class EditAttributeRoot(EditSecondary):
self.top.get_object("private"),
self.obj, self.db.readonly)
attrcmb = self.top.get_object("attr_menu")
attrcmb.set_wrap_width(2)
self.type_selector = MonitoredDataType(
self.top.get_object("attr_menu"),
attrcmb,
self.obj.set_type,
self.obj.get_type,
self.db.readonly,