From 7700c1c1ac4008e9a169fd81fd0dea8bfc2daa75 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 19 Nov 2002 05:04:30 +0000 Subject: [PATCH] Fix bookmark handling svn: r1195 --- gramps2/src/RelLib.py | 4 ++-- gramps2/src/const.py.in | 1 + gramps2/src/fam.xpm | 48 ----------------------------------------- 3 files changed, 3 insertions(+), 50 deletions(-) delete mode 100644 gramps2/src/fam.xpm diff --git a/gramps2/src/RelLib.py b/gramps2/src/RelLib.py index b3ad12865..7d037608a 100644 --- a/gramps2/src/RelLib.py +++ b/gramps2/src/RelLib.py @@ -1980,8 +1980,8 @@ class GrampsDB(Persistent): def getBookmarks(self): """returns the list of Person instances in the bookmarks""" - return extlist(self.bookmarks) - + return self.bookmarks + def clean_bookmarks(self): """cleans up the bookmark list, removing empty slots""" new_bookmarks = [] diff --git a/gramps2/src/const.py.in b/gramps2/src/const.py.in index 3cab6985c..70bf7f4c0 100644 --- a/gramps2/src/const.py.in +++ b/gramps2/src/const.py.in @@ -57,6 +57,7 @@ if os.environ.has_key('GRAMPSDIR'): else: rootDir = "." +papersize = "%s/papersize.xml" % rootDir good_xpm = "%s/good.xpm" % rootDir bad_xpm = "%s/bad.xpm" % rootDir caution_xpm = "%s/caution.xpm" % rootDir diff --git a/gramps2/src/fam.xpm b/gramps2/src/fam.xpm deleted file mode 100644 index 5a7c3683f..000000000 --- a/gramps2/src/fam.xpm +++ /dev/null @@ -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", -" ", -" ", -".+++++++++++++++++++++@ ", -"#$%%%%%%%%%%%%%%%%%%%&*%", -"#*===================#*%", -"#*====--;--------====#*%", -"#*===-+++++++++++-===#*%", -"#*==-++++++++++++++==#*%", -"#*=-++>,>+++++++++++=#*%", -"#*=-++,,,++++++>,>++=#*%", -"#*=-++>,>++++++,,,++=#*%", -"#*=-++')'+>,>++>,>++=#*%", -"#*=-++!!!+,,,++'~'++=#*%", -"#*=-+>!!!>{,{+>!!!>+=#*%", -"#*=-+!!!!!'!'+>!!!>+=#*%", -"#*==-!!!!'!!!'!!!!!==#*%", -"#*===-!!'!!!!!'!!!===#*%", -"#*====!!!!!!!!!!!====#*%", -"#*===================#*%", -"#@+++++++++++++++++++.*%", -"]%%%%%%%%%%%%%%%%%%%%%$%", -" %%%%%%%%%%%%%%%%%%%%%%", -" ^^^^^^^^^^^^^^^^^^^^^", -" "};