6408: Restore warning message for missing GExiv2 module

svn: r21483
This commit is contained in:
Nick Hall 2013-02-28 15:04:53 +00:00
parent b2319f90d4
commit 512c57cb04

View File

@ -395,6 +395,10 @@ if available:
gramplet_title = _("Image Metadata"), gramplet_title = _("Image Metadata"),
navtypes=["Media"], navtypes=["Media"],
) )
else:
import logging
logging.warning(_("WARNING: GExiv2 module not loaded. "
"Image metadata functionality will not be available."))
register(GRAMPLET, register(GRAMPLET,
id="Person Residence", id="Person Residence",