Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/conozcopy.py
diff options
context:
space:
mode:
Diffstat (limited to 'conozcopy.py')
-rwxr-xr-xconozcopy.py22
1 files changed, 1 insertions, 21 deletions
diff --git a/conozcopy.py b/conozcopy.py
index 1d6d5b9..5d8c6b6 100755
--- a/conozcopy.py
+++ b/conozcopy.py
@@ -19,11 +19,6 @@
# Kenny Meyer <knny.myer@gmail.com>
# Daniel Brassel Buss <dbrassel@gmail.com>
-# make sure we can run outside of Sugar for testing..
-try:
- from sugar.activity import activity
-except:
- pass
import sys
import random
@@ -41,20 +36,6 @@ import logging.config
_logger = logging.getLogger('conozco-paraguay')
_logger.setLevel(logging.DEBUG)
_SOUND = True
-_NEW_TOOLBAR_SUPPORT = True
-try:
- from sugar.graphics.toolbutton import ToolButton
- from sugar.graphics.toolbarbox import ToolbarBox
- from sugar.graphics.toolbarbox import ToolbarButton
- from sugar.activity.widgets import StopButton
- from toolbar import ViewToolbar
- from mybutton import MyActivityToolbarButton
- _logger.debug('NEW toolbar')
-except:
- _logger.debug('old toolbar')
- _NEW_TOOLBAR_SUPPORT = False
-
-
# constantes
RADIO = 10
@@ -893,8 +874,7 @@ class ConozcoPy():
pygame.init()
# crear pantalla
self.anchoPantalla = gtk.gdk.screen_width()
- TOOLBAR_HEIGHT = 75
- self.altoPantalla = gtk.gdk.screen_height() - TOOLBAR_HEIGHT
+ self.altoPantalla = gtk.gdk.screen_height()
self.pantalla = pygame.display.set_mode((self.anchoPantalla,
self.altoPantalla))
_logger.debug('altoPantalla'+ str(self.altoPantalla))