From b66e7c6bc0c8c50aa0b3a0d6ba4f6f29af250e5a Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Fri, 18 Mar 2011 03:31:37 +0000 Subject: [PATCH] Bug#4724; Mistaken KeyTag error has been fixed. svn: r16847 --- src/plugins/gramplet/MetadataViewer.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/plugins/gramplet/MetadataViewer.py b/src/plugins/gramplet/MetadataViewer.py index f028287ba..de9b51002 100644 --- a/src/plugins/gramplet/MetadataViewer.py +++ b/src/plugins/gramplet/MetadataViewer.py @@ -215,10 +215,6 @@ class MetadataViewer(Gramplet): except IOError: 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 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=[], mark_dirty=False, default=0, source=None): - # Data Entry: Active Person + # Data Entry: row = gtk.HBox() label = gtk.Label() if readonly: @@ -382,8 +378,8 @@ class MetadataViewer(Gramplet): clears all data fields to nothing """ - for key in [ "ActiveImage", "Artist", "Copyright", "NewDate", "NewTime", - "Latitude", "Longitude", "Keywords", "Description" ]: + for key in [ "Artist", "Copyright", "NewDate", "NewTime", + "Latitude", "Longitude", "Keywords", "Description" ]: self.exif_widgets[key].set_text( "" ) def process_date(self, tmpDate):