Made all fields except the Description to be read only, so that those fields do NOT get changed. It is not an editing gramplet but simply for viewing.
svn: r16769
This commit is contained in:
parent
5badd6ca06
commit
2c72c7a5d8
@ -114,21 +114,21 @@ class MediaMetadata(Gramplet):
|
|||||||
rows = gtk.VBox()
|
rows = gtk.VBox()
|
||||||
for items in [
|
for items in [
|
||||||
("ActiveImage", _("Active Image"), None, True, [], False, 0, None),
|
("ActiveImage", _("Active Image"), None, True, [], False, 0, None),
|
||||||
("Artist", _("Artist"), None, False, [], False, 0, None),
|
("Artist", _("Artist"), None, True, [], False, 0, None),
|
||||||
("Copyright", _("Copyright"), None, False, [], False, 0, None),
|
("Copyright", _("Copyright"), None, True, [], False, 0, None),
|
||||||
|
|
||||||
# Manual Date
|
# Manual Date
|
||||||
("NewDate", _("Date"), None, False, [], False, 0, None),
|
("NewDate", _("Date"), None, True, [], False, 0, None),
|
||||||
|
|
||||||
# Manual Time
|
# Manual Time
|
||||||
("NewTime", _("Time"), None, False, [], False, 0, None),
|
("NewTime", _("Time"), None, True, [], False, 0, None),
|
||||||
|
|
||||||
# Latitude and Longitude for this image
|
# Latitude and Longitude for this image
|
||||||
("Latitude", _("Latitude"), None, False, [], False, 0, None),
|
("Latitude", _("Latitude"), None, True, [], False, 0, None),
|
||||||
("Longitude", _("Longitude"), None, False, [], False, 0, None),
|
("Longitude", _("Longitude"), None, True, [], False, 0, None),
|
||||||
|
|
||||||
# keywords describing your image
|
# keywords describing your image
|
||||||
("Keywords", _("Keywords"), None, False, [], False, 0, None) ]:
|
("Keywords", _("Keywords"), None, True, [], False, 0, None) ]:
|
||||||
|
|
||||||
pos, text, choices, readonly, callback, dirty, default, source = items
|
pos, text, choices, readonly, callback, dirty, default, source = items
|
||||||
row = self.make_row(pos, text, choices, readonly, callback, dirty, default, source)
|
row = self.make_row(pos, text, choices, readonly, callback, dirty, default, source)
|
||||||
|
Loading…
Reference in New Issue
Block a user