From 9c3c7a8eb8dc0a4a05a2092a135da342e41f2c8d Mon Sep 17 00:00:00 2001 From: Gary Martin Date: Sun, 25 Nov 2012 18:04:56 +0000 Subject: Correction to Gtk.TextWindowType.TEXT for GTK3 port --- 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 -- cgit v0.9.1