Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ep_page_status.py
diff options
context:
space:
mode:
authorThomas Jourdan <b.vehikel@googlemail.com>2010-02-12 17:00:58 (GMT)
committer Thomas Jourdan <b.vehikel@googlemail.com>2010-02-12 17:00:58 (GMT)
commit389d08d48141e299774eb0be952999468747486b (patch)
tree3b4337b89f6bce40708eb2d1f578ffc8bb598dab /ep_page_status.py
parentc81c18ddf83a97147e1025129a65fe538c34acb7 (diff)
An 'explain details' page is added to Kandid.
Try to fix po/de.po not uptodate.
Diffstat (limited to 'ep_page_status.py')
-rw-r--r--ep_page_status.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/ep_page_status.py b/ep_page_status.py
index 81c6622..23f991a 100644
--- a/ep_page_status.py
+++ b/ep_page_status.py
@@ -21,7 +21,7 @@ import gobject
import ka_status
import ka_debug
-_STATUS_PAGE_NUMBER = 1
+_STATUS_PAGE_NUMBER = 5
class StatusController(object):
"""
@@ -40,6 +40,10 @@ class StatusController(object):
self._statusview = self._widget_tree.get_widget('statusTextview')
self._status = ka_status.Status.instance()
+ def close(self):
+ """Clean up"""
+ pass
+
def autoconnect_events(self):
"""Auto connect status view."""
#Create a dictionary to connect events
@@ -85,4 +89,4 @@ class StatusController(object):
pre: len(args) >= 3
"""
# ka_debug.info('on_notebook_switch_page %s' % (args[2]))
- self._my_page = args[2] == 4
+ self._my_page = args[2] == _STATUS_PAGE_NUMBER