Index: sources/gui/qml/PowerItem.qml =================================================================== diff -u -ra5760947d3ed0d2748ba023a1c25e3c6aa0b1de1 -r57ea732311e6f4c746974f5a52316f63dec23ca8 --- sources/gui/qml/PowerItem.qml (.../PowerItem.qml) (revision a5760947d3ed0d2748ba023a1c25e3c6aa0b1de1) +++ sources/gui/qml/PowerItem.qml (.../PowerItem.qml) (revision 57ea732311e6f4c746974f5a52316f63dec23ca8) @@ -54,15 +54,15 @@ } onAccepted: { if ( vConfirm.isPowerOff ) { - _GuiView.doActionTransmit(GuiActions.ID_PowerOff, GuiActions.Accepted) + _GuiView.doActionTransmit(guiActions.ID_PowerOff, guiActions.Accepted) } else { if ( ! vConfirm.isReject ) vConfirm.doConfirm( true ) } } onRejected: { if ( vConfirm.isPowerOff ) { - _GuiView.doActionTransmit(GuiActions.ID_PowerOff, GuiActions.Rejected) + _GuiView.doActionTransmit(guiActions.ID_PowerOff, guiActions.Rejected) } else { if ( ! vConfirm.isReject ) vConfirm.doConfirm( false ) @@ -100,7 +100,7 @@ Connections { target: _GuiView function onDidActionReceive( vAction, vData ) { switch(vAction) { - case GuiActions.ID_ShuttingDown: + case guiActions.ID_ShuttingDown: _autoHideInfo.showDialog ( qsTr("System is shutting down"), 5000 // if any error happens and shutdown is not successful then after 5 seconds dialog hides. @@ -122,9 +122,9 @@ function onPoweroffTriggered ( vValue ) { switch ( vValue ) { - case GuiActions.Command : open (); break; - case GuiActions.Timeout : close (); break; - case GuiActions.Rejected: reject(); break; + case guiActions.Command : open (); break; + case guiActions.Timeout : close (); break; + case guiActions.Rejected: reject(); break; } } function onAdjustmentTriggered ( vValue ) {