[gedit] externaltools: fix event managing
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] externaltools: fix event managing
- Date: Thu, 30 Jun 2011 13:41:42 +0000 (UTC)
commit d09a703e84f818dcadd7bd1c16c2091305a691c2
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Jun 30 15:41:31 2011 +0200
externaltools: fix event managing
plugins/externaltools/tools/manager.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/externaltools/tools/manager.py b/plugins/externaltools/tools/manager.py
index c0bbf3a..b3bc39b 100644
--- a/plugins/externaltools/tools/manager.py
+++ b/plugins/externaltools/tools/manager.py
@@ -192,10 +192,10 @@ class LanguagesPopup(Gtk.Window):
def setup_event(self, event, window):
fr = event.window.get_origin()
to = window.get_origin()
-
+
event.window = window
- event.x += fr[0] - to[0]
- event.y += fr[1] - to[1]
+ event.x += fr[1] - to[1]
+ event.y += fr[2] - to[2]
def resolve_widgets(self, root):
res = [root]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]