Fix DnD to insert test to all terms in current group

This commit is contained in:
Stephen Boddy 2009-01-07 19:35:44 +01:00
parent 90064406a0
commit fcea2b7261
1 changed files with 3 additions and 1 deletions

View File

@ -319,7 +319,9 @@ text/plain
txt = selection_data.data.strip()
if txt[0:7] == "file://":
txt = "'%s'" % txt[7:]
self._vte.feed_child(txt)
for term in self.terminator.term_list:
if term == self or term._group != None and term._group == self._group:
term._vte.feed_child(txt)
return
widgetsrc = data.terminator.term_list[int(selection_data.data)]