Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2014-01-17 23:10:47 (GMT)
committer Walter Bender <walter@sugarlabs.org>2014-01-17 23:10:47 (GMT)
commitee2aa6ae2beda3d4182470a3d6796d64e9bd791d (patch)
tree7d85ea647e6cde041ad061fc7eb68b441afb844e /tools.py
parente374a52b347a704742b6cb7071e34edb31bb78ec (diff)
merge ignacio's gtk3 branchv14
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