* src/plugins/DetDescendantReport.py (get_xpm_image): Remove
function, import it from Utils.py instead. * src/plugins/DetAncestralReport.py (get_xpm_image): Remove function, import it from Utils.py instead. * src/plugins/FtmStyleDescendants.py (get_xpm_image): Remove function, import it from Utils.py instead. * src/plugins/FtmStyleAncestors.py (get_xpm_image): Remove function, import it from Utils.py instead. * src/plugins/FamilyGroup.py (get_xpm_image): Remove function, import it from Utils.py instead. * src/plugins/IndivComplete.py (get_xpm_image): Remove function, import it from Utils.py instead. * src/plugins/IndivSummary.py (get_xpm_image): Remove function, import it from Utils.py instead; Convert to db. svn: r3125
This commit is contained in:
@@ -27,6 +27,7 @@ import os
|
||||
import Errors
|
||||
|
||||
from QuestionDialog import ErrorDialog
|
||||
from Utils import get_xpm_image
|
||||
from gettext import gettext as _
|
||||
|
||||
import Report
|
||||
@@ -1221,66 +1222,6 @@ def write_book_item(database,person,doc,options,newpage=0):
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
def get_xpm_image():
|
||||
return [
|
||||
"48 48 4 1",
|
||||
" c None",
|
||||
". c #FFFFFF",
|
||||
"+ c #C0C0C0",
|
||||
"@ c #000000",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ++++++++++++++++++++++++++++++++++ ",
|
||||
" +................................+ ",
|
||||
" +................................+ ",
|
||||
" +...@@@@@@@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +...@@@@@@@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +................................+ ",
|
||||
" +.....@@@@@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +........@@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +................................+ ",
|
||||
" +.....@@@@@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +........@@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +................................+ ",
|
||||
" +.....@@@@@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +.........@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +................................+ ",
|
||||
" +.....@@@@@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +.........@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +.........@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +................................+ ",
|
||||
" +.....@@@@@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +.........@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +................................+ ",
|
||||
" +.....@@@@@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +.........@@@@@@@@@@@@@@@@@@@@...+ ",
|
||||
" +................................+ ",
|
||||
" +................................+ ",
|
||||
" +................................+ ",
|
||||
" +................................+ ",
|
||||
" ++++++++++++++++++++++++++++++++++ ",
|
||||
" ",
|
||||
" ",
|
||||
" "]
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from Plugins import register_report, register_book_item
|
||||
|
||||
register_report(
|
||||
|
||||
Reference in New Issue
Block a user