part 3 : split basedoc in files, remove Utils dependance, move fontscale in gen,

update build system


svn: r12603
This commit is contained in:
Benny Malengier
2009-05-31 14:59:56 +00:00
parent 206e9f1aba
commit fb3ec68c6a
63 changed files with 2191 additions and 2521 deletions

View File

@@ -40,10 +40,10 @@ import gobject
# GRAMPS modules
#
#-------------------------------------------------------------------------
from gen.plug.docgen import PaperStyle, PaperSize
from gen.plug.docgen.basedoc import (PAPER_PORTRAIT, PAPER_LANDSCAPE)
from gen.plug.docgen import PaperStyle, PaperSize, PAPER_PORTRAIT, \
PAPER_LANDSCAPE
from gen.plug.utils import gfloat
import const
import Utils
from glade import Glade
#-------------------------------------------------------------------------
@@ -342,8 +342,8 @@ class PageSizeParser(handler.ContentHandler):
def startElement(self,tag,attrs):
if tag == "page":
name = attrs['name']
height = Utils.gfloat(attrs['height'])
width = Utils.gfloat(attrs['width'])
height = gfloat(attrs['height'])
width = gfloat(attrs['width'])
self.paper_list.append(PaperSize(name, height,width))
#-------------------------------------------------------------------------