[rhmessaging-commits] rhmessaging commits: r3430 - mgmt/trunk/cumin/python/cumin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Mon Jun 8 10:47:22 EDT 2009
Author: eallen
Date: 2009-06-08 10:47:22 -0400 (Mon, 08 Jun 2009)
New Revision: 3430
Modified:
mgmt/trunk/cumin/python/cumin/widgets.py
Log:
Process the heartbeat widget to avoid "unprocessed widget" warning.
Modified: mgmt/trunk/cumin/python/cumin/widgets.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/widgets.py 2009-06-08 14:45:25 UTC (rev 3429)
+++ mgmt/trunk/cumin/python/cumin/widgets.py 2009-06-08 14:47:22 UTC (rev 3430)
@@ -46,6 +46,7 @@
return list()
class CuminHeartBeat(Widget):
+ """ the intent is to add stuff here """
pass
class CuminMainView(TabbedModeSet):
@@ -57,11 +58,12 @@
self.actions = ActionInvocationSet(app, "actions")
self.add_child(self.actions)
- heartbeat = CuminHeartBeat(app, "heartbeat")
- self.add_child(heartbeat)
+ self.heartbeat = CuminHeartBeat(app, "heartbeat")
+ self.add_child(self.heartbeat)
def do_process(self, session, *args):
self.actions.process(session)
+ self.heartbeat.process(session)
super(CuminMainView, self).do_process(session, *args)
@@ -90,6 +92,9 @@
return lsess.marshal()
+ def render_account_href(self, session):
+ return Session(self.app.account_page).marshal()
+
class CuminFrame(Frame, ModeSet):
def __init__(self, app, name):
super(CuminFrame, self).__init__(app, name)
More information about the rhmessaging-commits
mailing list