[gnome-shell] systemActions: Alias power-off to halt and stop



commit b0753f78ccfd8690aaa9f5e5bb27157b264f4526
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Dec 21 03:31:14 2019 +0100

    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 6e9907b71a..07e1880b3c 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, {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]