* NEWS: update for 2.0.8
* src/data/Makefile.am: install main6.css * src/plugins/NavWebPage.py: Catch exception if thumbnailer fails. svn: r5182
This commit is contained in:
parent
dc465ec4bf
commit
1ca8867a78
@ -1,3 +1,8 @@
|
|||||||
|
2005-09-05 Don Allingham <don@gramps-project.org>
|
||||||
|
* NEWS: update for 2.0.8
|
||||||
|
* src/data/Makefile.am: install main6.css
|
||||||
|
* src/plugins/NavWebPage.py: Catch exception if thumbnailer fails.
|
||||||
|
|
||||||
2005-09-05 Eero Tamminen <eerot@sf>
|
2005-09-05 Eero Tamminen <eerot@sf>
|
||||||
* src/DateParser.py: Fixed what I broke
|
* src/DateParser.py: Fixed what I broke
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
Version 2.0.6 -- the "Romanes eunt domus" release
|
Version 2.0.8 -- the "Romani ite domum" release
|
||||||
|
|
||||||
|
Version 2.0.7 -- the "Romanes eunt domus" release
|
||||||
* Addition of a spelling checker if python-gnome-extras is installed
|
* Addition of a spelling checker if python-gnome-extras is installed
|
||||||
* Thumbnails are generated for objects other than images if an appropriate
|
* Thumbnails are generated for objects other than images if an appropriate
|
||||||
thumbnailer is found the the GCONF database.
|
thumbnailer is found the the GCONF database.
|
||||||
|
@ -4,11 +4,11 @@ dnl Process this file with autoconf to produce a configure script.
|
|||||||
dnl May need to run automake && aclocal first
|
dnl May need to run automake && aclocal first
|
||||||
|
|
||||||
AC_PREREQ(2.57)
|
AC_PREREQ(2.57)
|
||||||
AC_INIT(gramps, 2.0.6, gramps-bugs@lists.sourceforge.net)
|
AC_INIT(gramps, 2.0.8, gramps-bugs@lists.sourceforge.net)
|
||||||
AC_CONFIG_SRCDIR(src/gramps.py)
|
AC_CONFIG_SRCDIR(src/gramps.py)
|
||||||
AM_INIT_AUTOMAKE(1.6.3)
|
AM_INIT_AUTOMAKE(1.6.3)
|
||||||
dnl RELEASE=0.CVS$(head -c 10 ${srcdir}/ChangeLog | tr -d '-')
|
dnl RELEASE=0.CVS$(head -c 10 ${srcdir}/ChangeLog | tr -d '-')
|
||||||
RELEASE=2
|
RELEASE=1
|
||||||
|
|
||||||
VERSIONSTRING=$VERSION
|
VERSIONSTRING=$VERSION
|
||||||
if test x"$RELEASE" != "x"
|
if test x"$RELEASE" != "x"
|
||||||
|
@ -14,6 +14,7 @@ dist_pkgdata_DATA = \
|
|||||||
main3.css\
|
main3.css\
|
||||||
main4.css\
|
main4.css\
|
||||||
main5.css\
|
main5.css\
|
||||||
|
main6.css\
|
||||||
document.png
|
document.png
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
|
@ -782,9 +782,12 @@ class MediaPage(BasePage):
|
|||||||
dirname = tempfile.mkdtemp()
|
dirname = tempfile.mkdtemp()
|
||||||
thmb_path = os.path.join(dirname,"temp.png")
|
thmb_path = os.path.join(dirname,"temp.png")
|
||||||
if ImgManip.run_thumbnailer(mime_type, photo.get_path(), thmb_path, 320):
|
if ImgManip.run_thumbnailer(mime_type, photo.get_path(), thmb_path, 320):
|
||||||
|
try:
|
||||||
path = "%s/%s.png" % (self.build_path(photo.handle,"preview"),photo.handle)
|
path = "%s/%s.png" % (self.build_path(photo.handle,"preview"),photo.handle)
|
||||||
self.store_file(archive, self.html_dir, thmb_path, path)
|
self.store_file(archive, self.html_dir, thmb_path, path)
|
||||||
os.unlink(thmb_path)
|
os.unlink(thmb_path)
|
||||||
|
except IOError:
|
||||||
|
path = os.path.join('images','document.png')
|
||||||
else:
|
else:
|
||||||
path = os.path.join('images','document.png')
|
path = os.path.join('images','document.png')
|
||||||
os.rmdir(dirname)
|
os.rmdir(dirname)
|
||||||
|
Loading…
Reference in New Issue
Block a user