Fix bookmark handling
svn: r1195
This commit is contained in:
parent
af2fb7180c
commit
7700c1c1ac
@ -1980,8 +1980,8 @@ class GrampsDB(Persistent):
|
|||||||
|
|
||||||
def getBookmarks(self):
|
def getBookmarks(self):
|
||||||
"""returns the list of Person instances in the bookmarks"""
|
"""returns the list of Person instances in the bookmarks"""
|
||||||
return extlist(self.bookmarks)
|
return self.bookmarks
|
||||||
|
|
||||||
def clean_bookmarks(self):
|
def clean_bookmarks(self):
|
||||||
"""cleans up the bookmark list, removing empty slots"""
|
"""cleans up the bookmark list, removing empty slots"""
|
||||||
new_bookmarks = []
|
new_bookmarks = []
|
||||||
|
@ -57,6 +57,7 @@ if os.environ.has_key('GRAMPSDIR'):
|
|||||||
else:
|
else:
|
||||||
rootDir = "."
|
rootDir = "."
|
||||||
|
|
||||||
|
papersize = "%s/papersize.xml" % rootDir
|
||||||
good_xpm = "%s/good.xpm" % rootDir
|
good_xpm = "%s/good.xpm" % rootDir
|
||||||
bad_xpm = "%s/bad.xpm" % rootDir
|
bad_xpm = "%s/bad.xpm" % rootDir
|
||||||
caution_xpm = "%s/caution.xpm" % rootDir
|
caution_xpm = "%s/caution.xpm" % rootDir
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
/* XPM */
|
|
||||||
static char * icon_family01b_24x24_xpm[] = {
|
|
||||||
"24 24 21 1",
|
|
||||||
" c None",
|
|
||||||
". c #DDD5C1",
|
|
||||||
"+ c #FFFFFF",
|
|
||||||
"@ c #B0A384",
|
|
||||||
"# c #B5A781",
|
|
||||||
"$ c #0E0400",
|
|
||||||
"% c #000000",
|
|
||||||
"& c #5D4D2D",
|
|
||||||
"* c #5B4103",
|
|
||||||
"= c #EFEBDB",
|
|
||||||
"- c #9B9791",
|
|
||||||
"; c #9C9892",
|
|
||||||
"> c #8F8DA5",
|
|
||||||
", c #302157",
|
|
||||||
"' c #A8A7BB",
|
|
||||||
") c #7B76AE",
|
|
||||||
"! c #7C77AF",
|
|
||||||
"~ c #7C75AD",
|
|
||||||
"{ c #B0B0E2",
|
|
||||||
"] c #5E4D2A",
|
|
||||||
"^ c #646464",
|
|
||||||
" ",
|
|
||||||
" ",
|
|
||||||
".+++++++++++++++++++++@ ",
|
|
||||||
"#$%%%%%%%%%%%%%%%%%%%&*%",
|
|
||||||
"#*===================#*%",
|
|
||||||
"#*====--;--------====#*%",
|
|
||||||
"#*===-+++++++++++-===#*%",
|
|
||||||
"#*==-++++++++++++++==#*%",
|
|
||||||
"#*=-++>,>+++++++++++=#*%",
|
|
||||||
"#*=-++,,,++++++>,>++=#*%",
|
|
||||||
"#*=-++>,>++++++,,,++=#*%",
|
|
||||||
"#*=-++')'+>,>++>,>++=#*%",
|
|
||||||
"#*=-++!!!+,,,++'~'++=#*%",
|
|
||||||
"#*=-+>!!!>{,{+>!!!>+=#*%",
|
|
||||||
"#*=-+!!!!!'!'+>!!!>+=#*%",
|
|
||||||
"#*==-!!!!'!!!'!!!!!==#*%",
|
|
||||||
"#*===-!!'!!!!!'!!!===#*%",
|
|
||||||
"#*====!!!!!!!!!!!====#*%",
|
|
||||||
"#*===================#*%",
|
|
||||||
"#@+++++++++++++++++++.*%",
|
|
||||||
"]%%%%%%%%%%%%%%%%%%%%%$%",
|
|
||||||
" %%%%%%%%%%%%%%%%%%%%%%",
|
|
||||||
" ^^^^^^^^^^^^^^^^^^^^^",
|
|
||||||
" "};
|
|
Loading…
Reference in New Issue
Block a user