From fcea2b72618ffddc4543bde3c7eb505906e4475a Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Wed, 7 Jan 2009 19:35:44 +0100 Subject: [PATCH] Fix DnD to insert test to all terms in current group --- terminatorlib/terminatorterm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/terminatorlib/terminatorterm.py b/terminatorlib/terminatorterm.py index 553b2741..2d368c75 100755 --- a/terminatorlib/terminatorterm.py +++ b/terminatorlib/terminatorterm.py @@ -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)]