Merge Stephen Boddy's fix for LP #314902 with a small modification

This commit is contained in:
Chris Jones 2009-01-08 15:40:38 +00:00
commit eec5aefbaa
1 changed files with 3 additions and 1 deletions

View File

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