src/EditSource.py: Connected up add/del/edit buttons for Repos tab.

svn: r5543
This commit is contained in:
Richard Taylor 2005-12-12 12:04:49 +00:00
parent d39946ef95
commit b00ab966eb
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2005-12-12 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/EditSource.py: Connected up add/del/edit buttons for Repos tab.
2005-12-06 Don Allingham <don@gramps-project.org>
* src/FamilyView.py: Fixed FamilyView layout

View File

@ -276,6 +276,10 @@ class EditSource:
self.gladeif.connect('sel_photo','clicked',self.gallery.on_select_media_clicked)
self.gladeif.connect('edit_photo','clicked',self.gallery.on_edit_media_clicked)
self.gladeif.connect('delete_photo','clicked',self.gallery.on_delete_media_clicked)
self.gladeif.connect('add_repos_ref','clicked',self.on_add_repos_ref_clicked)
self.gladeif.connect('del_repos_ref','clicked',self.on_delete_repos_ref_clicked)
self.gladeif.connect('edit_repos_ref','clicked',self.on_edit_repos_ref_clicked)
self.gladeif.connect('repository_ref_list','row_activated',self.on_edit_repos_ref_clicked)
if self.source.get_handle() == None or self.db.readonly:
self.top_window.get_widget("edit_photo").set_sensitive(False)