mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Explorer plugin native context menu: turn it off by default
This commit is contained in:
parent
92db7164d6
commit
0edd9eafab
3 changed files with 4 additions and 4 deletions
|
|
@ -280,7 +280,7 @@ namespace Flow.Launcher.Plugin.Explorer
|
||||||
IcoPath = Constants.DifferentUserIconImagePath
|
IcoPath = Constants.DifferentUserIconImagePath
|
||||||
});
|
});
|
||||||
|
|
||||||
if (record.Type is ResultType.File or ResultType.Folder && Settings.ShowWindowsContextMenu)
|
if (record.Type is ResultType.File or ResultType.Folder && Settings.ShowInlinedWindowsContextMenu)
|
||||||
{
|
{
|
||||||
var filters = Settings
|
var filters = Settings
|
||||||
.WindowsContextMenuIgnoredItems
|
.WindowsContextMenuIgnoredItems
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ namespace Flow.Launcher.Plugin.Explorer
|
||||||
|
|
||||||
public bool UseLocationAsWorkingDir { get; set; } = false;
|
public bool UseLocationAsWorkingDir { get; set; } = false;
|
||||||
|
|
||||||
public bool ShowWindowsContextMenu { get; set; } = true;
|
public bool ShowInlinedWindowsContextMenu { get; set; } = false;
|
||||||
|
|
||||||
public string WindowsContextMenuIgnoredItems { get; set; } = string.Empty;
|
public string WindowsContextMenuIgnoredItems { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -106,10 +106,10 @@ namespace Flow.Launcher.Plugin.Explorer.ViewModels
|
||||||
|
|
||||||
public bool ShowWindowsContextMenu
|
public bool ShowWindowsContextMenu
|
||||||
{
|
{
|
||||||
get => Settings.ShowWindowsContextMenu;
|
get => Settings.ShowInlinedWindowsContextMenu;
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
Settings.ShowWindowsContextMenu = value;
|
Settings.ShowInlinedWindowsContextMenu = value;
|
||||||
OnPropertyChanged();
|
OnPropertyChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue