diff options
Diffstat (limited to 'abacus_window.py')
-rw-r--r-- | abacus_window.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/abacus_window.py b/abacus_window.py index b88a24e..83887b3 100644 --- a/abacus_window.py +++ b/abacus_window.py @@ -34,7 +34,6 @@ LABELS = ('#000000', '#FFFFFF', '#000000', '#FFFFFF', '#000000', '#000000', '#FFFFFF', '#FFFFFF', '#000000', '#000000') import gi -gi.require_version('Gtk', '3.0') from gi.repository import Gtk, Gdk, GdkPixbuf from math import floor, ceil @@ -45,7 +44,7 @@ import logging _logger = logging.getLogger('abacus-activity') try: - from sugar.graphics import style + from sugar3.graphics import style GRID_CELL_SIZE = style.GRID_CELL_SIZE except ImportError: GRID_CELL_SIZE = 0 |