Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CeibalNotifica.py12
-rw-r--r--activity/activity.info2
2 files changed, 5 insertions, 9 deletions
diff --git a/CeibalNotifica.py b/CeibalNotifica.py
index 59ff93e..ff887a2 100644
--- a/CeibalNotifica.py
+++ b/CeibalNotifica.py
@@ -23,10 +23,8 @@ import os
import gtk
import sys
import gobject
-try:
- from ceibal.notifier.store import *
-except:
- from store import *
+from ceibal.notifier.store import *
+#from store import *
from sugar.activity import activity
from sugar.activity.widgets import StopButton
BASE = os.path.dirname(__file__)
@@ -70,10 +68,8 @@ class CeibalNotifica(activity.Activity):
self.text_view.set_justification(gtk.JUSTIFY_LEFT)
self.text_view.set_wrap_mode(gtk.WRAP_WORD)
hpanel = gtk.HPaned()
- try:
- self.store = Store(db_filename="prueba.db")
- except:
- self.store = Store()
+ #self.store = Store(db_filename="prueba.db")
+ self.store = Store()
scroll = gtk.ScrolledWindow()
scroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
scroll.add_with_viewport(self.notify_store)
diff --git a/activity/activity.info b/activity/activity.info
index f357924..0392885 100644
--- a/activity/activity.info
+++ b/activity/activity.info
@@ -1,6 +1,6 @@
[Activity]
name = CeibalNotifica
-activity_version = 1.1
+activity_version = 1.2
service_name = org.laptop.CeibalNotifica
class = CeibalNotifica.CeibalNotifica
icon = ceibal