From b0753f78ccfd8690aaa9f5e5bb27157b264f4526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 21 Dec 2019 03:31:14 +0100 Subject: [PATCH] systemActions: Alias power-off to halt and stop Those are words users may reasonably use when trying to shut down their computer, so add them to the list of keywords. https://bugzilla.gnome.org/show_bug.cgi?id=791659 --- js/misc/systemActions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/misc/systemActions.js b/js/misc/systemActions.js index 6e9907b71..07e1880b3 100644 --- a/js/misc/systemActions.js +++ b/js/misc/systemActions.js @@ -89,7 +89,7 @@ const SystemActions = GObject.registerClass({ name: C_("search-result", "Power Off"), iconName: 'system-shutdown-symbolic', // Translators: A list of keywords that match the power-off action, separated by semicolons - keywords: _("power off;shutdown;reboot;restart").split(/[; ]/), + keywords: _('power off;shutdown;reboot;restart;halt;stop').split(/[; ]/), available: false, }); this._actions.set(LOCK_SCREEN_ACTION_ID, {