[caribou: 10/11] Add gtk prefix to gdk.Rectangle symbol
- From: Eitan Isaacson <eitani src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [caribou: 10/11] Add gtk prefix to gdk.Rectangle symbol
- Date: Thu, 3 Dec 2009 18:16:03 +0000 (UTC)
commit b6810c2e374e3ca603dae0538dea3c39ca53edf0
Author: Eitan Isaacson <eitan monotonous org>
Date: Thu Dec 3 10:13:28 2009 -0800
Add gtk prefix to gdk.Rectangle symbol
src/caribou.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/caribou.py b/src/caribou.py
index bc5eb64..82bfaa6 100644
--- a/src/caribou.py
+++ b/src/caribou.py
@@ -50,14 +50,14 @@ class Test:
def __set_entry_location(self, acc):
text = acc.queryText()
- cursor_bb = gdk.Rectangle(
+ cursor_bb = gtk.gdk.Rectangle(
*text.getCharacterExtents(text.caretOffset,
pyatspi.DESKTOP_COORDS))
component = acc.queryComponent()
entry_bb = component.getExtents(pyatspi.DESKTOP_COORDS)
- if cursor_bb == gdk.Rectangle(0, 0, 0, 0):
+ if cursor_bb == gtk.gdk.Rectangle(0, 0, 0, 0):
cursor_bb = entry_bb
cp.set_cursor_location(cursor_bb)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]