Media gallery improvements
svn: r1165
This commit is contained in:
12
src/Utils.py
12
src/Utils.py
@ -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 ""
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
Reference in New Issue
Block a user