diff options
author | Raul Gutierrez Segales <rgs@collabora.co.uk> | 2011-10-30 23:55:00 (GMT) |
---|---|---|
committer | Raul Gutierrez Segales <rgs@collabora.co.uk> | 2011-10-30 23:55:00 (GMT) |
commit | 130fae162dbb839f91033becc71be7a33bb7c1f0 (patch) | |
tree | 640648c7aa999ac58345f5dbdc45bcc4ad259f07 /abacus_window.py | |
parent | c387222564cac1a8367a44cd7bdfd007f216c7dc (diff) |
More Gtk3 changes here and there
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 |