diff -r 341166945d65 -r 52b0f64eeb51 homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hsmenuworkerstate.cpp --- a/homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hsmenuworkerstate.cpp Fri Jun 25 19:19:22 2010 +0300 +++ b/homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hsmenuworkerstate.cpp Fri Jul 09 14:36:01 2010 +0300 @@ -28,6 +28,7 @@ #include "hspreviewhswidgetstate.h" #include "hsviewappsettingsstate.h" #include "hsviewappdetailsstate.h" +#include "hsinstallationlogstate.h" /*! \class HsMenuWorkerState @@ -79,7 +80,9 @@ createChildState ( HsMenuEvent::UninstallApplication); createChildState (HsMenuEvent::ArrangeCollection); + createChildState (HsMenuEvent::ArrangeAllCollections); + // create a new child state based on the template HsCollectionNameState *newChildState = new HsCollectionNameState(this); // create a transition to the new child state which will be triggered by @@ -95,7 +98,8 @@ mInitialState->addTransition(createCollectionTransition); // set a transition to the initial state after child processing finished newChildState->addTransition(newChildState, SIGNAL(exit()), mInitialState); - + connect(this, SIGNAL(reset()), newChildState, SIGNAL(exit())); + HsAddAppsToCollectionState *addAppsToCollectionState = new HsAddAppsToCollectionState(this); // create a transition to the new child state which will be triggered by @@ -108,9 +112,12 @@ addAppsToCollectionState->addTransition(addAppsToCollectionState, SIGNAL(finished()), mInitialState); connect(this, SIGNAL(reset()), addAppsToCollectionState, SIGNAL(finished())); + + createChildState (HsMenuEvent::PreviewHSWidget); createChildState (HsMenuEvent::ShowAppSettings); createChildState (HsMenuEvent::ShowAppDetails); + createChildState (HsMenuEvent::ShowInstallationLog); HSMENUTEST_FUNC_EXIT("HsMenuWorkerState::construct"); }