* src/ImageSelect.py: load global note in a read only buffer

* src/gramps.glade: change buttons to icons, add global note
on image properties editor


svn: r3712
This commit is contained in:
Don Allingham 2004-11-08 04:40:18 +00:00
parent c1bc80c739
commit b5490053bb
4 changed files with 645 additions and 161 deletions

View File

@ -1,3 +1,8 @@
2004-11-07 Don Allingham <dallingham@users.sourceforge.net>
* src/ImageSelect.py: load global note in a read only buffer
* src/gramps.glade: change buttons to icons, add global note
on image properties editor
2004-11-06 Don Allingham <dallingham@users.sourceforge.net> 2004-11-06 Don Allingham <dallingham@users.sourceforge.net>
* src/DateHandler.py: handle en_GB, en_AU and en_CA locales * src/DateHandler.py: handle en_GB, en_AU and en_CA locales

View File

@ -734,6 +734,11 @@ class LocalMediaProperties:
"on_cancel_clicked" : self.close, "on_cancel_clicked" : self.close,
"on_local_delete_event" : self.on_delete_event, "on_local_delete_event" : self.on_delete_event,
}) })
media_obj = self.db.get_object_from_handle(self.photo.get_reference_handle())
global_note = self.change_dialog.get_widget('global_notes').get_buffer()
global_note.insert_at_cursor(media_obj.get_note())
self.redraw_attr_list() self.redraw_attr_list()
if parent_window: if parent_window:
self.window.set_transient_for(parent_window) self.window.set_transient_for(parent_window)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1022 B

File diff suppressed because it is too large Load Diff