6408: Restore warning message for missing GExiv2 module

svn: r21484
This commit is contained in:
Nick Hall 2013-02-28 15:05:03 +00:00
parent a03877e8c9
commit 3ae8e5cc1e

View File

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