From 54cde24e1e4bdb86c8ebf31478f204ee6299908c Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2009 15:47:07 +0000 Subject: Updated for startstop in core 0.5.0 --- fetchcrl-controller.lua | 2 +- fetchcrl-model.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fetchcrl-controller.lua b/fetchcrl-controller.lua index 0b957ba..d5d3e0d 100644 --- a/fetchcrl-controller.lua +++ b/fetchcrl-controller.lua @@ -11,7 +11,7 @@ status = function( self ) end startstop = function( self ) - return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.model.get_status, self.clientdata) + return controllerfunctions.handle_startstop(self, self.model.startstop_service, self.clientdata) end expert = function( self ) diff --git a/fetchcrl-model.lua b/fetchcrl-model.lua index a47543c..3d3a5fe 100644 --- a/fetchcrl-model.lua +++ b/fetchcrl-model.lua @@ -35,7 +35,7 @@ end function startstop_service(action) local result = {} - result.actions = cfe({ type="list", value={"download", "delete"}, label="Start/Stop actions" }) + result.actions = cfe({ type="list", value={"Download", "Delete"}, label="Start/Stop actions" }) if action then result.result = cfe({ label="Start/Stop result" }) -- cgit v1.2.3