mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-24 20:59:48 +08:00
improved shortcuts for service plugin (#9220)
This commit is contained in:
parent
c8e43cb77d
commit
eed89eff45
@ -62,7 +62,7 @@ namespace Microsoft.PowerToys.Run.Plugin.Service
|
||||
Glyph = "\xE72C",
|
||||
FontFamily = "Segoe MDL2 Assets",
|
||||
AcceleratorKey = Key.R,
|
||||
AcceleratorModifiers = ModifierKeys.Control | ModifierKeys.Shift,
|
||||
AcceleratorModifiers = ModifierKeys.Control,
|
||||
Action = _ =>
|
||||
{
|
||||
Task.Run(() => ServiceHelper.ChangeStatus(serviceResult, Action.Restart, _context.API));
|
||||
@ -96,7 +96,7 @@ namespace Microsoft.PowerToys.Run.Plugin.Service
|
||||
Glyph = "\xE8A7",
|
||||
FontFamily = "Segoe MDL2 Assets",
|
||||
AcceleratorKey = Key.O,
|
||||
AcceleratorModifiers = ModifierKeys.Control | ModifierKeys.Shift,
|
||||
AcceleratorModifiers = ModifierKeys.Control,
|
||||
Action = _ =>
|
||||
{
|
||||
Task.Run(() => ServiceHelper.OpenServices());
|
||||
|
@ -8,8 +8,10 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.PowerToys.Run.Plugin.Service.Properties
|
||||
{
|
||||
namespace Microsoft.PowerToys.Run.Plugin.Service.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
@ -68,7 +70,7 @@ namespace Microsoft.PowerToys.Run.Plugin.Service.Properties
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Open services (Ctrl+Shift+O).
|
||||
/// Looks up a localized string similar to Open services (Ctrl+O).
|
||||
/// </summary>
|
||||
internal static string wox_plugin_service_open_services {
|
||||
get {
|
||||
@ -113,7 +115,7 @@ namespace Microsoft.PowerToys.Run.Plugin.Service.Properties
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Restart (Ctrl+Shift+R).
|
||||
/// Looks up a localized string similar to Restart (Ctrl+R).
|
||||
/// </summary>
|
||||
internal static string wox_plugin_service_restart {
|
||||
get {
|
||||
|
@ -121,7 +121,7 @@
|
||||
<value>Continue</value>
|
||||
</data>
|
||||
<data name="wox_plugin_service_open_services" xml:space="preserve">
|
||||
<value>Open services (Ctrl+Shift+O)</value>
|
||||
<value>Open services (Ctrl+O)</value>
|
||||
</data>
|
||||
<data name="wox_plugin_service_paused" xml:space="preserve">
|
||||
<value>Paused</value>
|
||||
@ -136,7 +136,7 @@
|
||||
<value>Service</value>
|
||||
</data>
|
||||
<data name="wox_plugin_service_restart" xml:space="preserve">
|
||||
<value>Restart (Ctrl+Shift+R)</value>
|
||||
<value>Restart (Ctrl+R)</value>
|
||||
</data>
|
||||
<data name="wox_plugin_service_restarted_notification" xml:space="preserve">
|
||||
<value>{0} has been restarted</value>
|
||||
|
Loading…
Reference in New Issue
Block a user