mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add icons / Change "Flow Launcher Settings" to "Settings" in context menu
This commit is contained in:
parent
016f92ad99
commit
9be732279f
3 changed files with 14 additions and 4 deletions
|
|
@ -27,7 +27,7 @@
|
||||||
<system:String x:Key="PositionResetToolTip">Reset search window position</system:String>
|
<system:String x:Key="PositionResetToolTip">Reset search window position</system:String>
|
||||||
|
|
||||||
<!-- Setting General -->
|
<!-- Setting General -->
|
||||||
<system:String x:Key="flowlauncher_settings">Flow Launcher Settings</system:String>
|
<system:String x:Key="flowlauncher_settings">Settings</system:String>
|
||||||
<system:String x:Key="general">General</system:String>
|
<system:String x:Key="general">General</system:String>
|
||||||
<system:String x:Key="portableMode">Portable Mode</system:String>
|
<system:String x:Key="portableMode">Portable Mode</system:String>
|
||||||
<system:String x:Key="portableModeToolTIp">Store all settings and user data in one folder (Useful when used with removable drives or cloud services).</system:String>
|
<system:String x:Key="portableModeToolTIp">Store all settings and user data in one folder (Useful when used with removable drives or cloud services).</system:String>
|
||||||
|
|
|
||||||
|
|
@ -229,8 +229,16 @@
|
||||||
Margin="0"
|
Margin="0"
|
||||||
Padding="0,4,0,4"
|
Padding="0,4,0,4"
|
||||||
Background="{DynamicResource ContextSeparator}" />
|
Background="{DynamicResource ContextSeparator}" />
|
||||||
<MenuItem Click="OnContextMenusForSettingsClick" Header="{DynamicResource flowlauncher_settings}" />
|
<MenuItem Click="OnContextMenusForSettingsClick" Header="{DynamicResource flowlauncher_settings}">
|
||||||
<MenuItem Command="{Binding EscCommand}" Header="{DynamicResource closeWindow}" />
|
<MenuItem.Icon>
|
||||||
|
<ui:FontIcon Glyph="" />
|
||||||
|
</MenuItem.Icon>
|
||||||
|
</MenuItem>
|
||||||
|
<MenuItem Command="{Binding EscCommand}" Header="{DynamicResource closeWindow}">
|
||||||
|
<MenuItem.Icon>
|
||||||
|
<ui:FontIcon Glyph="" />
|
||||||
|
</MenuItem.Icon>
|
||||||
|
</MenuItem>
|
||||||
</ContextMenu>
|
</ContextMenu>
|
||||||
</TextBox.ContextMenu>
|
</TextBox.ContextMenu>
|
||||||
</TextBox>
|
</TextBox>
|
||||||
|
|
|
||||||
|
|
@ -256,9 +256,11 @@ namespace Flow.Launcher
|
||||||
Header = InternationalizationManager.Instance.GetTranslation("GameMode"),
|
Header = InternationalizationManager.Instance.GetTranslation("GameMode"),
|
||||||
Icon = gamemodeIcon
|
Icon = gamemodeIcon
|
||||||
};
|
};
|
||||||
|
var positionresetIcon = new FontIcon { Glyph = "\ue73f" };
|
||||||
var positionreset = new MenuItem
|
var positionreset = new MenuItem
|
||||||
{
|
{
|
||||||
Header = InternationalizationManager.Instance.GetTranslation("PositionReset")
|
Header = InternationalizationManager.Instance.GetTranslation("PositionReset"),
|
||||||
|
Icon = positionresetIcon
|
||||||
};
|
};
|
||||||
var settingsIcon = new FontIcon { Glyph = "\ue713" };
|
var settingsIcon = new FontIcon { Glyph = "\ue713" };
|
||||||
var settings = new MenuItem
|
var settings = new MenuItem
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue