Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.

Commit 7a2960e

Browse files
committed
Rename 'ShowShellContextMenu' to 'ShowWindowsContextMenu'.
1 parent 9be71d9 commit 7a2960e

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

EverythingSettings.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
Content="{DynamicResource flowlauncher_plugin_everything_launch_hidden}" />
4343

4444
<CheckBox
45-
x:Name="ShowShellContextMenu"
45+
x:Name="ShowWindowsContextMenu"
4646
Grid.Row="2"
4747
Grid.ColumnSpan="3"
4848
Margin="10,6,18,6"
4949
HorizontalAlignment="Left"
50-
Content="{DynamicResource flowlauncher_plugin_everything_show_shell_context_menu}" />
50+
Content="{DynamicResource flowlauncher_plugin_everything_show_windows_context_menu}" />
5151

5252
<Label
5353
Grid.Row="3"

EverythingSettings.xaml.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ private void View_Loaded(object sender, RoutedEventArgs re)
4545
settings.LaunchHidden = false;
4646
};
4747

48-
ShowShellContextMenu.IsChecked = settings.ShowShellContextMenu;
48+
ShowWindowsContextMenu.IsChecked = settings.ShowWindowsContextMenu;
4949

50-
ShowShellContextMenu.Checked += (o, e) =>
50+
ShowWindowsContextMenu.Checked += (o, e) =>
5151
{
52-
settings.ShowShellContextMenu = true;
52+
settings.ShowWindowsContextMenu = true;
5353
};
5454

55-
ShowShellContextMenu.Unchecked += (o, e) =>
55+
ShowWindowsContextMenu.Unchecked += (o, e) =>
5656
{
57-
settings.ShowShellContextMenu = false;
57+
settings.ShowWindowsContextMenu = false;
5858
};
5959

6060
EditorPath.Content = settings.EditorPath;

Languages/en.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@
5252
<system:String x:Key="flowlauncher_plugin_everything_run_service">Click here to start it</system:String>
5353
<system:String x:Key="flowlauncher_plugin_everything_installing_select">Unable to find an Everything installation, would you like to manually select a location?{0}{0}Click no and Everything will be automatically installed for you</system:String>
5454

55-
<system:String x:Key="flowlauncher_plugin_everything_show_shell_context_menu">Show context menu</system:String>
55+
<system:String x:Key="flowlauncher_plugin_everything_show_windows_context_menu">Show context menu</system:String>
5656
</ResourceDictionary>

Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,11 @@ public List<Result> LoadContextMenus(Result selectedResult)
324324

325325
var icoPath = (record.Type == ResultType.File) ? "Images\\file.png" : "Images\\folder.png";
326326

327-
if (_settings.ShowShellContextMenu)
327+
if (_settings.ShowWindowsContextMenu)
328328
{
329329
contextMenus.Add(new Result
330330
{
331-
Title = _context.API.GetTranslation("flowlauncher_plugin_everything_show_shell_context_menu"),
331+
Title = _context.API.GetTranslation("flowlauncher_plugin_everything_show_windows_context_menu"),
332332
Action = (context) =>
333333
{
334334
var fileInfos = new FileInfo[] { new(record.FullPath) };

Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public string ExplorerPath
4242

4343
public bool LaunchHidden { get; set; } = false;
4444

45-
public bool ShowShellContextMenu { get; set; } = true;
45+
public bool ShowWindowsContextMenu { get; set; } = true;
4646

4747
public string EverythingInstalledPath { get; set; }
4848

0 commit comments

Comments
 (0)