3875: [NarWeb] no more caption text for images in Source gallery

svn: r15891
This commit is contained in:
Benny Malengier 2010-09-13 18:11:21 +00:00
parent 3096db842c
commit 9aa00be403

View File

@ -1529,7 +1529,8 @@ class BasePage(object):
newpath = newpath.replace('\\',"/") newpath = newpath.replace('\\',"/")
# begin hyperlink # begin hyperlink
section += self.media_link(photo_handle, newpath, descr, True, False) section += self.media_link(photo_handle, newpath, descr,
True, True)
except (IOError, OSError), msg: except (IOError, OSError), msg:
WarningDialog(_("Could not add photo to page"), str(msg)) WarningDialog(_("Could not add photo to page"), str(msg))