Change function name

svn: r3016
This commit is contained in:
Alex Roitman 2004-03-16 02:22:37 +00:00
parent c5de08e957
commit 9ddadbd5b0

View File

@ -680,7 +680,7 @@ class LPRDoc(BaseDoc.BaseDoc):
self.row_data.append(self.cell_data)
self.brand_new_page = 0
def add_photo(self,name,pos,x,y):
def add_media_object(self,name,pos,x,y):
"""Add photo to report."""
photo = GnomePrintPhoto(name,pos,x,y)