diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 75f57d966..9167414f9 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,8 @@ +2003-08-09 Alex Roitman + * src/TextDoc.py (PaperStyle.set_height, PaperStyle.set_width): + Add functions. Needed for setting custom size paper. + * configure.in: Set RELEASE to CVS- string. + 2003-08-08 Alex Roitman * src/PaperMenu.py: Add A3 size to the default size list. * src/plugins/FamilyGroup.py: Remove setup() call. diff --git a/gramps2/configure.in b/gramps2/configure.in index 97fd03377..c3ca51881 100644 --- a/gramps2/configure.in +++ b/gramps2/configure.in @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. dnl May need to run automake && aclocal first AC_INIT(src/gramps.py) AM_INIT_AUTOMAKE(gramps, 0.9.3) -RELEASE=1 +RELEASE=CVS-$(date +%G%m%d) VERSIONSTRING=$VERSION if test x"$RELEASE" != "x" diff --git a/gramps2/src/TextDoc.py b/gramps2/src/TextDoc.py index d23df9c3e..a08d6cdc5 100644 --- a/gramps2/src/TextDoc.py +++ b/gramps2/src/TextDoc.py @@ -151,10 +151,18 @@ class PaperStyle: "Returns the page height in cm" return self.height + def set_height(self,height): + "Sets the page height in cm" + self.height = height + def get_width(self): "Returns the page width in cm" return self.width + def set_width(self,width): + "Sets the page width in cm" + self.width = width + def get_height_inches(self): "Returns the page height in inches" return self.height / 2.54