* src/SourceView.py: connect SourceView.merge into the multiple

selection mechanism


svn: r4245
This commit is contained in:
Don Allingham 2005-03-28 04:36:09 +00:00
parent 59e1448c9e
commit 7bc078bb43

View File

@ -203,13 +203,14 @@ class SourceView:
def update_display(self,source):
self.model.update_row_by_handle(source.get_handle())
def blist(self,store,path,iter,list):
handle = store.get_value(iter,_HANDLE_COL)
list.append(handle)
def merge(self):
ErrorDialog("NOT IMPLEMENTED",
"Need to correct SourceView.merge method.")
return
mlist = []
self.selection.selected_foreach(self.blist,mlist)
if len(mlist) != 2:
msg = _("Cannot merge sources.")
msg2 = _("Exactly two sources must be selected to perform a merge. "