Skip to content

Commit 0edd9ea

Browse files
committed
Explorer plugin native context menu: turn it off by default
1 parent 92db716 commit 0edd9ea

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
280280
IcoPath = Constants.DifferentUserIconImagePath
281281
});
282282

283-
if (record.Type is ResultType.File or ResultType.Folder && Settings.ShowWindowsContextMenu)
283+
if (record.Type is ResultType.File or ResultType.Folder && Settings.ShowInlinedWindowsContextMenu)
284284
{
285285
var filters = Settings
286286
.WindowsContextMenuIgnoredItems

Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class Settings
2828

2929
public bool UseLocationAsWorkingDir { get; set; } = false;
3030

31-
public bool ShowWindowsContextMenu { get; set; } = true;
31+
public bool ShowInlinedWindowsContextMenu { get; set; } = false;
3232

3333
public string WindowsContextMenuIgnoredItems { get; set; } = string.Empty;
3434

Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ private void InitializeEngineSelection()
106106

107107
public bool ShowWindowsContextMenu
108108
{
109-
get => Settings.ShowWindowsContextMenu;
109+
get => Settings.ShowInlinedWindowsContextMenu;
110110
set
111111
{
112-
Settings.ShowWindowsContextMenu = value;
112+
Settings.ShowInlinedWindowsContextMenu = value;
113113
OnPropertyChanged();
114114
}
115115
}

0 commit comments

Comments
 (0)