From 998a59bddff46c8e200280ae26482f311e229a9c Mon Sep 17 00:00:00 2001 From: Emmanuel Bretelle Date: Thu, 6 Mar 2008 19:13:10 +0000 Subject: [PATCH] fix drop on itself with titlebars --- terminator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminator b/terminator index 20bf2798..20434e39 100755 --- a/terminator +++ b/terminator @@ -368,7 +368,7 @@ text/plain widgetsrc = data.terminator.term_list[int(selection_data.data)] srcvte = drag_context.get_source_widget() #check if computation requireds - if srcvte == widget: + if (isinstance(srcvte, gtk.EventBox) and srcvte == self._titlebox) or srcvte == widget: print "on itself" return