Fixed typo on ewgions to match trunk
svn: r15122
This commit is contained in:
parent
a3c6fa4e6f
commit
163382d835
@ -1090,7 +1090,7 @@ class BasePage(object):
|
|||||||
self.report.copy_file(Utils.media_path_full(db, obj.get_path()), newpath)
|
self.report.copy_file(Utils.media_path_full(db, obj.get_path()), newpath)
|
||||||
|
|
||||||
# get media rectangles
|
# get media rectangles
|
||||||
_region_items = self.media_ref_ewgions(obj_handle, obj)
|
_region_items = self.media_ref_regions(obj_handle, obj)
|
||||||
if len(_region_items):
|
if len(_region_items):
|
||||||
with Html("div") as mediadisplay:
|
with Html("div") as mediadisplay:
|
||||||
|
|
||||||
@ -1142,7 +1142,7 @@ class BasePage(object):
|
|||||||
# no image to return
|
# no image to return
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def media_ref_ewgions(self, handle, media):
|
def media_ref_regions(self, handle, media):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
*************************************
|
*************************************
|
||||||
@ -1255,7 +1255,7 @@ class BasePage(object):
|
|||||||
try:
|
try:
|
||||||
|
|
||||||
# get media rectangles
|
# get media rectangles
|
||||||
_region_items = self.media_ref_ewgions(photo_handle, photo)
|
_region_items = self.media_ref_regions(photo_handle, photo)
|
||||||
if len(_region_items):
|
if len(_region_items):
|
||||||
with Html("div") as mediadisplay:
|
with Html("div") as mediadisplay:
|
||||||
snapshot += mediadisplay
|
snapshot += mediadisplay
|
||||||
@ -1334,7 +1334,7 @@ class BasePage(object):
|
|||||||
try:
|
try:
|
||||||
|
|
||||||
# get media rectangles
|
# get media rectangles
|
||||||
_region_items = self.media_ref_ewgions(photo_handle, photo)
|
_region_items = self.media_ref_regions(photo_handle, photo)
|
||||||
if len(_region_items):
|
if len(_region_items):
|
||||||
with Html("div") as mediadisplay:
|
with Html("div") as mediadisplay:
|
||||||
section += mediadisplay
|
section += mediadisplay
|
||||||
@ -2602,7 +2602,7 @@ class MediaPage(BasePage):
|
|||||||
BasePage.__init__(self, report, title, media.gramps_id)
|
BasePage.__init__(self, report, title, media.gramps_id)
|
||||||
|
|
||||||
# get media rectangles
|
# get media rectangles
|
||||||
_region_items = self.media_ref_ewgions(handle, media)
|
_region_items = self.media_ref_regions(handle, media)
|
||||||
|
|
||||||
of = self.report.create_file(handle, "img")
|
of = self.report.create_file(handle, "img")
|
||||||
self.up = True
|
self.up = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user