diff --git a/repos/gems/src/app/sculpt_manager/view/system_power_widget.h b/repos/gems/src/app/sculpt_manager/view/system_power_widget.h index bc6d628d73..a3499c5da2 100644 --- a/repos/gems/src/app/sculpt_manager/view/system_power_widget.h +++ b/repos/gems/src/app/sculpt_manager/view/system_power_widget.h @@ -36,7 +36,7 @@ struct Sculpt::System_power_widget : Widget } }; - enum class Option { UNKNOWN, SUSPEND, REBOOT, OFF }; + enum class Option { UNKNOWN, STANDBY, REBOOT, OFF }; Option _selected_option { Option::UNKNOWN }; @@ -96,7 +96,7 @@ struct Sculpt::System_power_widget : Widget }; Hosted - _suspend { Id { "Suspend" }, Option::SUSPEND }, + _suspend { Id { "Standby" }, Option::STANDBY }, _reboot { Id { "Hard reboot" }, Option::REBOOT }, _off { Id { "Hard power down" }, Option::OFF }; @@ -152,7 +152,7 @@ struct Sculpt::System_power_widget : Widget { _power_options.propagate(at, [&] (Option const confirmed) { - if (confirmed == Option::SUSPEND) action.trigger_suspend(); + if (confirmed == Option::STANDBY) action.trigger_suspend(); if (confirmed == Option::REBOOT) action.trigger_reboot(); if (confirmed == Option::OFF) action.trigger_power_off(); });