systemActions: Add more keywords
https://bugzilla.gnome.org/show_bug.cgi?id=786987
This commit is contained in:
parent
32b2639052
commit
9bad2182dd
@ -99,7 +99,7 @@ const SystemActions = new Lang.Class({
|
|||||||
name: C_("search-result", "Power Off"),
|
name: C_("search-result", "Power Off"),
|
||||||
iconName: 'system-shutdown-symbolic',
|
iconName: 'system-shutdown-symbolic',
|
||||||
// Translators: A list of keywords that match the power-off action, separated by semicolons
|
// 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 });
|
available: false });
|
||||||
this._actions.set(LOCK_SCREEN_ACTION_ID,
|
this._actions.set(LOCK_SCREEN_ACTION_ID,
|
||||||
{ // Translators: The name of the lock screen action in search
|
{ // 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"),
|
name: C_("search-result", "Lock Orientation"),
|
||||||
iconName: '',
|
iconName: '',
|
||||||
// Translators: A list of keywords that match the lock orientation action, separated by semicolons
|
// 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 });
|
available: false });
|
||||||
|
|
||||||
this._loginScreenSettings = new Gio.Settings({ schema_id: LOGIN_SCREEN_SCHEMA });
|
this._loginScreenSettings = new Gio.Settings({ schema_id: LOGIN_SCREEN_SCHEMA });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user