Minor cleanups

svn: r2973
This commit is contained in:
Alex Roitman 2004-03-06 00:08:09 +00:00
parent 828aae62b7
commit fd210a00cc

View File

@ -34,10 +34,15 @@
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
import string import string
from gettext import gettext as _
import pygtk #------------------------------------------------------------------------
#
# GNOME/GTK Modules
#
#------------------------------------------------------------------------
import gnomeprint, gnomeprint.ui
import gnomeprint, gnomeprint.ui, gtk
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #
# gramps modules # gramps modules
@ -46,7 +51,6 @@ import gnomeprint, gnomeprint.ui, gtk
import BaseDoc import BaseDoc
import Plugins import Plugins
import ImgManip import ImgManip
from gettext import gettext as _
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #
@ -322,7 +326,9 @@ class GnomePrintParagraph:
def get_lines(self): def get_lines(self):
""" """
Return a list of assemlbed for the paragraph. Return a list of assemlbed lines for the paragraph.
Each element is a tuple corresponding to the line's contents:
(start_piece,start_word,end_piece,end_word,avail_width)
""" """
return self.lines return self.lines