Skip to content

Commit

Permalink
Description: Setup changes
Browse files Browse the repository at this point in the history
- Remove welcome screen
- This also removes the hidden demo start which is now in the language selection step


git-svn-id: https://svn.slimdevices.com/repos/jive/7.8/trunk/squeezeplay@9697 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9
  • Loading branch information
Felix Mueller committed Mar 30, 2012
1 parent 438fde4 commit 9d773b4
Showing 1 changed file with 1 addition and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,20 +158,9 @@ function step1(self)

-- choose language
appletManager:callService("setupShowSetupLanguage",
function()
self:step2()
end, false)
end


function step2(self)
log:info("step2")

-- welcome!
self:setupWelcomeShow(
function()
self:step4()
end)
end, false)
end


Expand Down Expand Up @@ -643,36 +632,6 @@ function _setupDone(self, setupDone, registerDone)
end


function _jumpToDemo(self)
appletManager:callService("jumpToInStoreDemo")
end

function setupWelcomeShow(self, setupNext)
local window = Window("help_list", self:string("WELCOME"), welcomeTitleStyle)
window:setAllowScreensaver(false)

window:setButtonAction("rbutton", nil)

window:addActionListener('start_demo', self, _jumpToDemo)
local textarea = Textarea("help_text", self:string("WELCOME_WALKTHROUGH"))

local continueButton = SimpleMenu("menu")

continueButton:addItem({
text = (self:string("CONTINUE")),
sound = "WINDOWSHOW",
callback = setupNext,
weight = 1
})

continueButton:setHeaderWidget(textarea)
window:addWidget(continueButton)

self:tieAndShowWindow(window)
return window
end


--[[
function init(self)
log:info("subscribe")
Expand Down

0 comments on commit 9d773b4

Please sign in to comment.