Removed registry of Edit Image Exif Metadata from its own file into gramplet.gpr.py

svn: r17267
This commit is contained in:
Rob G. Healey
2011-04-26 02:39:04 +00:00
parent 0b723299f5
commit 665f991b36
4 changed files with 29 additions and 53 deletions

View File

@ -81,7 +81,7 @@ except ImportError, msg:
WarningDialog(_("You need to install, %s or greater, for this addon to work...\n"
"I would recommend installing, %s, and it may be downloaded from here: \n%s") % (
Min_VERSION_str, Pref_VERSION_str, _DOWNLOAD_LINK), str(msg))
raise Exception(_("Failed to load 'Image Metadata Gramplet'..."))
raise Exception(_("Failed to load 'Edit Image Exif Metadata'..."))
# This only happends if the user has pyexiv2-0.1.3 installed on their computer...
except AttributeError:
@ -217,7 +217,7 @@ def _help_page(obj):
will bring up a Wiki help page.
"""
GrampsDisplay.help(webpage = 'Image Metadata Gramplet')
GrampsDisplay.help(webpage = "Edit Image Exif Metadata")
_allmonths = list([_dd.short_months[i], _dd.long_months[i], i] for i in range(1, 13))
@ -512,7 +512,7 @@ class EditExifMetadata(Gramplet):
self.SavedEntries = [entry for entry in self.SavedEntries if entry]
if self.SavedEntries:
QuestionDialog(_("Image Metadata Gramplet"), _("Save Exif metadata to this image?"),
QuestionDialog(_("Edit Image Exif Metadata"), _("Save Exif metadata to this image?"),
_("Save"), self.save_metadata)
def __delete_dialog(self, obj):
@ -520,7 +520,7 @@ class EditExifMetadata(Gramplet):
Handles the Delete Dialog...
"""
QuestionDialog(_("Image Metadata Gramplet"), _("WARNING! You are about to completely "
QuestionDialog(_("Edit Image Exif Metadata"), _("WARNING! You are about to completely "
"delete the Exif metadata from this image?"), _("Delete"),
self.strip_metadata)
@ -560,7 +560,7 @@ class EditExifMetadata(Gramplet):
def make_row(self, pos, text, choices=None, readonly=False, callback_list=[],
mark_dirty=False, default=0):
# Image Metadata Gramplet
# "Edit Image Exif Metadata" Gramplet
row = gtk.HBox()
label = gtk.Label()
if readonly:
@ -629,7 +629,7 @@ class EditExifMetadata(Gramplet):
"""
gets the value from the Exif Key, and returns it...
@param: KeyTag -- image metadata key
@param: KeyTag -- Edit Image Exif Metadata key
"""
KeyValue = ""
@ -986,7 +986,7 @@ class EditExifMetadata(Gramplet):
def save_metadata(self):
"""
gets the information from the plugin data fields
and sets the KeyTag = keyvalue image metadata
and sets the KeyTag = keyvalue
"""
# Description data field