diff options
-rw-r--r-- | calculate.py | 2 |
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 |