Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools.py')
-rw-r--r--tools.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/tools.py b/tools.py
index 69f9c3b..1d0211f 100644
--- a/tools.py
+++ b/tools.py
@@ -21,16 +21,17 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
-from shutil import copy
-import pygame
import json
+import math
import logging
+import pygame
+from shutil import copy
+from gettext import gettext as _
+
from pygame.locals import *
from helpers import *
-from gettext import gettext as _
-from sugar.activity import activity
-import gtk
-import math
+
+from sugar3.activity import activity
PALETTE_MODE_SLIDER_ICON = 0
PALETTE_MODE_ICONS = 1