From 9bad2182dd814e5e3bb116fb795b8fcba20e1025 Mon Sep 17 00:00:00 2001 From: Jeremy Bicha Date: Tue, 29 Aug 2017 16:26:03 -0400 Subject: [PATCH] systemActions: Add more keywords https://bugzilla.gnome.org/show_bug.cgi?id=786987 --- js/misc/systemActions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/misc/systemActions.js b/js/misc/systemActions.js index ff8165085..9c808b76d 100644 --- a/js/misc/systemActions.js +++ b/js/misc/systemActions.js @@ -99,7 +99,7 @@ const SystemActions = new Lang.Class({ 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").split(';'), + keywords: _("power off;shutdown;reboot;restart").split(';'), available: false }); this._actions.set(LOCK_SCREEN_ACTION_ID, { // Translators: The name of the lock screen action in search @@ -134,7 +134,7 @@ const SystemActions = new Lang.Class({ name: C_("search-result", "Lock Orientation"), iconName: '', // Translators: A list of keywords that match the lock orientation action, separated by semicolons - keywords: _("lock orientation").split(';'), + keywords: _("lock orientation;screen;rotation").split(';'), available: false }); this._loginScreenSettings = new Gio.Settings({ schema_id: LOGIN_SCREEN_SCHEMA });