diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs
index 79d133181..f01852b43 100644
--- a/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs
+++ b/Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs
@@ -215,8 +215,8 @@ namespace Flow.Launcher.Plugin.Explorer
},
// placeholder until real image is found
- IcoPath = Constants.ShowContextMenuImagePath,
- Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue70f")
+ IcoPath = Constants.RenameImagePath,
+ Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue8ac")
});
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Images/rename.png b/Plugins/Flow.Launcher.Plugin.Explorer/Images/rename.png
new file mode 100644
index 000000000..ad70eb8e7
Binary files /dev/null and b/Plugins/Flow.Launcher.Plugin.Explorer/Images/rename.png differ
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml
index a9e1eb69a..95b250797 100644
--- a/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml
@@ -190,15 +190,15 @@
1 year ago
{0} years ago
-
- New name:
+
+ New name
Rename
Rename
The given name: {0} was not new.
{0} may not be empty.
{0} is an invalid name.
The specified item: {0} was not found
- Open a dialog to rename this.
+ Open a dialog to rename this
This cannot be renamed.
Successfully renamed it to: {0}
There is already a file with the name: {0} in this location
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Constants.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/Constants.cs
index 4bddfd9b2..16a557af7 100644
--- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Constants.cs
+++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/Constants.cs
@@ -17,6 +17,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search
internal const string QuickAccessImagePath = "Images\\quickaccess.png";
internal const string RemoveQuickAccessImagePath = "Images\\removequickaccess.png";
internal const string ShowContextMenuImagePath = "Images\\context_menu.png";
+ internal const string RenameImagePath = "Images\\rename.png";
internal const string EverythingErrorImagePath = "Images\\everything_error.png";
internal const string IndexSearchWarningImagePath = "Images\\index_error.png";
internal const string WindowsIndexErrorImagePath = "Images\\index_error2.png";
diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Views/RenameFile.xaml b/Plugins/Flow.Launcher.Plugin.Explorer/Views/RenameFile.xaml
index 64a8f4538..0f1c5578a 100644
--- a/Plugins/Flow.Launcher.Plugin.Explorer/Views/RenameFile.xaml
+++ b/Plugins/Flow.Launcher.Plugin.Explorer/Views/RenameFile.xaml
@@ -6,8 +6,8 @@
xmlns:local="clr-namespace:Flow.Launcher.Plugin.Explorer.Views"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="{DynamicResource plugin_explorer_manageactionkeywords_header}"
- Width="Auto"
- Height="160"
+ Height="180"
+ MaxWidth="600"
Background="{DynamicResource PopuBGColor}"
DataContext="{Binding RelativeSource={RelativeSource Self}}"
Foreground="{DynamicResource PopupTextColor}"
@@ -16,24 +16,23 @@
WindowStartupLocation="CenterScreen"
mc:Ignorable="d">
-
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
+
+ Text="{DynamicResource plugin_explorer_new_file_name}" />
+ PreviewKeyDown="RenameTb_OnKeyDown"
+ Text="{Binding NewFileName}" />
@@ -96,24 +91,22 @@
Background="{DynamicResource PopupButtonAreaBGColor}"
BorderBrush="{DynamicResource PopupButtonAreaBorderColor}"
BorderThickness="0 1 0 0">
-
+
+ Content="{DynamicResource cancel}" />