Media gallery improvements

svn: r1165
This commit is contained in:
Don Allingham
2002-11-05 04:15:04 +00:00
parent 2eacdd41e6
commit 2f9f1660ee
5 changed files with 8 additions and 19 deletions

View File

@ -164,17 +164,7 @@ def destroy_passed_object(obj):
#
#-------------------------------------------------------------------------
def get_detail_flags(obj,priv=1):
import GrampsCfg
detail = ""
if GrampsCfg.show_detail:
if obj.getNote() != "":
detail = "N"
if len(obj.getSourceRefList()) > 0:
detail = detail + "S"
if priv and obj.getPrivacy():
detail = detail + "P"
return detail
return ""
#-------------------------------------------------------------------------
#