Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2012-11-25 18:04:56 (GMT)
committer Gary Martin <gary@garycmartin.com>2012-11-25 18:04:56 (GMT)
commit9c3c7a8eb8dc0a4a05a2092a135da342e41f2c8d (patch)
tree7c53cdfd094c42a543d04bdfe8ae5dfb59a5727a
parentb87f6efe9f0689c8b513fd7d6634c06fab511df1 (diff)
Correction to Gtk.TextWindowType.TEXT for GTK3 port
-rw-r--r--calculate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calculate.py b/calculate.py
index 66eb19f..ce6aa1d 100644
--- a/calculate.py
+++ b/calculate.py
@@ -68,7 +68,7 @@ def findchar(text, chars, ofs=0):
def _textview_realize_cb(widget):
'''Change textview properties once window is created.'''
- win = widget.get_window(Gtk.TextWindowType.WINDOW_TEXT)
+ win = widget.get_window(Gtk.TextWindowType.TEXT)
win.set_cursor(Gdk.Cursor(Gdk.CursorType.HAND1))
return False