Bug#4724; Mistaken KeyTag error has been fixed.
svn: r16847
This commit is contained in:
parent
c3e084d506
commit
b66e7c6bc0
@ -215,10 +215,6 @@ class MetadataViewer(Gramplet):
|
|||||||
except IOError:
|
except IOError:
|
||||||
return
|
return
|
||||||
|
|
||||||
# display media description
|
|
||||||
title = _html_escape(active_media.get_description())
|
|
||||||
self.exif_widgets["ActiveImage"].set_text(title)
|
|
||||||
|
|
||||||
# set up image metadata keys for use in this gramplet
|
# set up image metadata keys for use in this gramplet
|
||||||
dataKeyTags = [KeyTag for KeyTag in self.plugin_image.exif_keys if KeyTag in _DATAMAP ]
|
dataKeyTags = [KeyTag for KeyTag in self.plugin_image.exif_keys if KeyTag in _DATAMAP ]
|
||||||
|
|
||||||
@ -305,7 +301,7 @@ class MetadataViewer(Gramplet):
|
|||||||
def make_row(self, pos, text, choices=None, readonly=False, callback_list=[],
|
def make_row(self, pos, text, choices=None, readonly=False, callback_list=[],
|
||||||
mark_dirty=False, default=0, source=None):
|
mark_dirty=False, default=0, source=None):
|
||||||
|
|
||||||
# Data Entry: Active Person
|
# Data Entry:
|
||||||
row = gtk.HBox()
|
row = gtk.HBox()
|
||||||
label = gtk.Label()
|
label = gtk.Label()
|
||||||
if readonly:
|
if readonly:
|
||||||
@ -382,7 +378,7 @@ class MetadataViewer(Gramplet):
|
|||||||
clears all data fields to nothing
|
clears all data fields to nothing
|
||||||
"""
|
"""
|
||||||
|
|
||||||
for key in [ "ActiveImage", "Artist", "Copyright", "NewDate", "NewTime",
|
for key in [ "Artist", "Copyright", "NewDate", "NewTime",
|
||||||
"Latitude", "Longitude", "Keywords", "Description" ]:
|
"Latitude", "Longitude", "Keywords", "Description" ]:
|
||||||
self.exif_widgets[key].set_text( "" )
|
self.exif_widgets[key].set_text( "" )
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user