* various: const.py changes
2007-09-07 Don Allingham <don@gramps-project.org> * src/DateHandler/_Date_fr.py: fix indentation errors 2007-09-07 Don Allingham <don@gramps-project.org> svn: r8948
This commit is contained in:
@@ -176,7 +176,7 @@ class FamilyModel(BaseModel):
|
||||
return None
|
||||
|
||||
def column_tooltip(self,data):
|
||||
if const.use_tips:
|
||||
if const.USE_TIPS:
|
||||
try:
|
||||
t = ToolTips.TipFromFunction(self.db, lambda:
|
||||
self.db.get_family_from_handle(data[0]))
|
||||
|
||||
@@ -134,7 +134,7 @@ class MediaModel(BaseModel):
|
||||
GrampsLocale.codeset)
|
||||
|
||||
def column_tooltip(self,data):
|
||||
if const.use_tips:
|
||||
if const.USE_TIPS:
|
||||
try:
|
||||
t = ToolTips.TipFromFunction(self.db, lambda:
|
||||
self.db.get_object_from_handle(data[0]))
|
||||
|
||||
@@ -697,7 +697,7 @@ class PeopleModel(gtk.GenericTreeModel):
|
||||
return None
|
||||
|
||||
def column_tooltip(self, data, node):
|
||||
if const.use_tips:
|
||||
if const.USE_TIPS:
|
||||
return ToolTips.TipFromFunction(
|
||||
self.db,
|
||||
lambda: self.db.get_person_from_handle(data[0])
|
||||
|
||||
@@ -160,7 +160,7 @@ class PlaceModel(BaseModel):
|
||||
GrampsLocale.codeset)
|
||||
|
||||
def column_tooltip(self,data):
|
||||
if const.use_tips:
|
||||
if const.USE_TIPS:
|
||||
try:
|
||||
t = ToolTips.TipFromFunction(
|
||||
self.db, lambda:
|
||||
|
||||
@@ -106,7 +106,7 @@ class SourceModel(BaseModel):
|
||||
return "%012x" % data[8]
|
||||
|
||||
def column_tooltip(self,data):
|
||||
if const.use_tips:
|
||||
if const.USE_TIPS:
|
||||
try:
|
||||
t = ToolTips.TipFromFunction(self.db, lambda:
|
||||
self.db.get_source_from_handle(data[0]))
|
||||
|
||||
Reference in New Issue
Block a user