diff --git a/src/Resources/Styles/Button.xaml b/src/Resources/Styles/Button.xaml
index cf164da9..64dda4c3 100644
--- a/src/Resources/Styles/Button.xaml
+++ b/src/Resources/Styles/Button.xaml
@@ -4,8 +4,8 @@
+
+
+
\ No newline at end of file
diff --git a/src/Resources/Styles/TreeView.xaml b/src/Resources/Styles/TreeView.xaml
index 605f8c0b..66cbbf12 100644
--- a/src/Resources/Styles/TreeView.xaml
+++ b/src/Resources/Styles/TreeView.xaml
@@ -12,7 +12,7 @@
-
+
@@ -31,16 +31,15 @@
+
-
+
-
-
+
@@ -48,7 +48,7 @@
-
+
@@ -62,7 +62,7 @@
-
+
diff --git a/src/UI/Apply.xaml b/src/UI/Apply.xaml
index a3e58021..94643256 100644
--- a/src/UI/Apply.xaml
+++ b/src/UI/Apply.xaml
@@ -52,7 +52,7 @@
diff --git a/src/UI/Blame.xaml b/src/UI/Blame.xaml
index 2c6fc20f..74a0538f 100644
--- a/src/UI/Blame.xaml
+++ b/src/UI/Blame.xaml
@@ -50,7 +50,6 @@
diff --git a/src/UI/CherryPick.xaml b/src/UI/CherryPick.xaml
index 2b0b4ec0..b6081361 100644
--- a/src/UI/CherryPick.xaml
+++ b/src/UI/CherryPick.xaml
@@ -24,7 +24,7 @@
-
+
diff --git a/src/UI/Clone.xaml b/src/UI/Clone.xaml
index abff5f00..d8a76a49 100644
--- a/src/UI/Clone.xaml
+++ b/src/UI/Clone.xaml
@@ -60,7 +60,7 @@
diff --git a/src/UI/CommitViewer.xaml b/src/UI/CommitViewer.xaml
index 8200e010..5c26b016 100644
--- a/src/UI/CommitViewer.xaml
+++ b/src/UI/CommitViewer.xaml
@@ -163,7 +163,7 @@
-
+
@@ -289,7 +289,7 @@
-
+
-
+
@@ -420,7 +420,7 @@
-
+
@@ -455,12 +455,12 @@
-
+
-
+
diff --git a/src/UI/CommitViewer.xaml.cs b/src/UI/CommitViewer.xaml.cs
index 9e72bdc2..54e6622d 100644
--- a/src/UI/CommitViewer.xaml.cs
+++ b/src/UI/CommitViewer.xaml.cs
@@ -438,7 +438,6 @@ namespace SourceGit.UI {
var menu = new ContextMenu();
var copyIcon = new System.Windows.Shapes.Path();
- copyIcon.Style = FindResource("Style.Icon") as Style;
copyIcon.Data = FindResource("Icon.Copy") as Geometry;
copyIcon.Width = 10;
diff --git a/src/UI/CreateBranch.xaml b/src/UI/CreateBranch.xaml
index 54a4a2d7..048e51dd 100644
--- a/src/UI/CreateBranch.xaml
+++ b/src/UI/CreateBranch.xaml
@@ -33,7 +33,7 @@
-
+
diff --git a/src/UI/CreateTag.xaml b/src/UI/CreateTag.xaml
index 5467c7c6..0d9f67dd 100644
--- a/src/UI/CreateTag.xaml
+++ b/src/UI/CreateTag.xaml
@@ -27,7 +27,7 @@
-
+
diff --git a/src/UI/Dashboard.xaml b/src/UI/Dashboard.xaml
index 50bd093e..30464ba8 100644
--- a/src/UI/Dashboard.xaml
+++ b/src/UI/Dashboard.xaml
@@ -43,14 +43,14 @@
@@ -58,33 +58,33 @@
-
@@ -313,12 +313,12 @@
-
+
-
+
-
+
@@ -393,7 +393,7 @@
-
+
@@ -433,10 +433,10 @@
-
+
-
+
@@ -469,7 +469,7 @@
-
+
diff --git a/src/UI/Dashboard.xaml.cs b/src/UI/Dashboard.xaml.cs
index 27cf38b2..397e2a3a 100644
--- a/src/UI/Dashboard.xaml.cs
+++ b/src/UI/Dashboard.xaml.cs
@@ -666,7 +666,6 @@ namespace SourceGit.UI {
menu.Items.Add(new Separator());
var flowIcon = new System.Windows.Shapes.Path();
- flowIcon.Style = FindResource("Style.Icon") as Style;
flowIcon.Data = FindResource("Icon.Flow") as Geometry;
flowIcon.Width = 10;
@@ -720,13 +719,11 @@ namespace SourceGit.UI {
var remoteBranches = repo.RemoteBranches();
if (remoteBranches.Count > 0) {
var trackingIcon = new System.Windows.Shapes.Path();
- trackingIcon.Style = FindResource("Style.Icon") as Style;
trackingIcon.Data = FindResource("Icon.Branch") as Geometry;
trackingIcon.VerticalAlignment = VerticalAlignment.Bottom;
trackingIcon.Width = 10;
var currentTrackingIcon = new System.Windows.Shapes.Path();
- currentTrackingIcon.Style = FindResource("Style.Icon") as Style;
currentTrackingIcon.Data = FindResource("Icon.Check") as Geometry;
currentTrackingIcon.VerticalAlignment = VerticalAlignment.Center;
currentTrackingIcon.Width = 10;
diff --git a/src/UI/DeleteBranch.xaml b/src/UI/DeleteBranch.xaml
index 246d8cc8..1cd3a402 100644
--- a/src/UI/DeleteBranch.xaml
+++ b/src/UI/DeleteBranch.xaml
@@ -23,7 +23,7 @@
-
+
diff --git a/src/UI/DeleteRemote.xaml b/src/UI/DeleteRemote.xaml
index e40bc79b..2a8cedae 100644
--- a/src/UI/DeleteRemote.xaml
+++ b/src/UI/DeleteRemote.xaml
@@ -23,7 +23,7 @@
-
+
diff --git a/src/UI/DeleteTag.xaml b/src/UI/DeleteTag.xaml
index 71d8bf8b..a3d37dea 100644
--- a/src/UI/DeleteTag.xaml
+++ b/src/UI/DeleteTag.xaml
@@ -24,7 +24,7 @@
-
+
diff --git a/src/UI/DiffViewer.xaml b/src/UI/DiffViewer.xaml
index 3c932eab..7f5031cd 100644
--- a/src/UI/DiffViewer.xaml
+++ b/src/UI/DiffViewer.xaml
@@ -37,24 +37,24 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -102,14 +102,14 @@
-
+
-
+
diff --git a/src/UI/DiffViewer.xaml.cs b/src/UI/DiffViewer.xaml.cs
index 62a85e0b..6fc2fb2d 100644
--- a/src/UI/DiffViewer.xaml.cs
+++ b/src/UI/DiffViewer.xaml.cs
@@ -757,7 +757,6 @@ namespace SourceGit.UI {
var menu = new ContextMenu();
var copyIcon = new Path();
- copyIcon.Style = FindResource("Style.Icon") as Style;
copyIcon.Data = FindResource("Icon.Copy") as Geometry;
copyIcon.Width = 10;
diff --git a/src/UI/Discard.xaml b/src/UI/Discard.xaml
index 5720e084..7a5d96cc 100644
--- a/src/UI/Discard.xaml
+++ b/src/UI/Discard.xaml
@@ -24,7 +24,7 @@
-
+
diff --git a/src/UI/Fetch.xaml b/src/UI/Fetch.xaml
index 7fbe9643..ff620339 100644
--- a/src/UI/Fetch.xaml
+++ b/src/UI/Fetch.xaml
@@ -34,7 +34,7 @@
-
+
diff --git a/src/UI/FileHistories.xaml b/src/UI/FileHistories.xaml
index 714e1670..c0b31b5d 100644
--- a/src/UI/FileHistories.xaml
+++ b/src/UI/FileHistories.xaml
@@ -50,7 +50,6 @@
-
+
-
+
@@ -77,7 +76,7 @@
-
+
diff --git a/src/UI/FolderDialog.xaml b/src/UI/FolderDialog.xaml
index f7b65041..9d241181 100644
--- a/src/UI/FolderDialog.xaml
+++ b/src/UI/FolderDialog.xaml
@@ -33,7 +33,7 @@
-
+
@@ -50,7 +50,7 @@
-
+
@@ -73,7 +73,7 @@
-
+
diff --git a/src/UI/GitFlowFinishBranch.xaml b/src/UI/GitFlowFinishBranch.xaml
index 052c4d0c..5afabede 100644
--- a/src/UI/GitFlowFinishBranch.xaml
+++ b/src/UI/GitFlowFinishBranch.xaml
@@ -23,7 +23,7 @@
-
+
diff --git a/src/UI/Histories.xaml b/src/UI/Histories.xaml
index cc381e69..b5cff6bb 100644
--- a/src/UI/Histories.xaml
+++ b/src/UI/Histories.xaml
@@ -41,10 +41,10 @@
-
+
-
+
@@ -94,7 +94,7 @@
-
+
@@ -184,7 +184,7 @@
-
+
@@ -207,7 +207,7 @@
diff --git a/src/UI/Histories.xaml.cs b/src/UI/Histories.xaml.cs
index cc289917..ad6964bc 100644
--- a/src/UI/Histories.xaml.cs
+++ b/src/UI/Histories.xaml.cs
@@ -214,7 +214,6 @@ namespace SourceGit.UI {
private MenuItem GetCurrentBranchContextMenu(Git.Branch branch) {
var icon = new Path();
- icon.Style = FindResource("Style.Icon") as Style;
icon.Data = FindResource("Icon.Branch") as Geometry;
icon.VerticalAlignment = VerticalAlignment.Bottom;
icon.Width = 10;
@@ -256,7 +255,6 @@ namespace SourceGit.UI {
if (branch.Kind != Git.Branch.Type.Normal) {
var flowIcon = new Path();
- flowIcon.Style = FindResource("Style.Icon") as Style;
flowIcon.Data = FindResource("Icon.Flow") as Geometry;
flowIcon.Width = 10;
@@ -285,7 +283,6 @@ namespace SourceGit.UI {
private MenuItem GetOtherBranchContextMenu(Git.Branch current, Git.Branch branch, bool merged) {
var icon = new Path();
- icon.Style = FindResource("Style.Icon") as Style;
icon.Data = FindResource("Icon.Branch") as Geometry;
icon.VerticalAlignment = VerticalAlignment.Bottom;
icon.Width = 10;
@@ -326,7 +323,6 @@ namespace SourceGit.UI {
if (branch.Kind != Git.Branch.Type.Normal) {
var flowIcon = new Path();
- flowIcon.Style = FindResource("Style.Icon") as Style;
flowIcon.Data = FindResource("Icon.Flow") as Geometry;
flowIcon.Width = 10;
@@ -363,7 +359,6 @@ namespace SourceGit.UI {
private MenuItem GetTagContextMenu(Git.Tag tag) {
var icon = new Path();
- icon.Style = FindResource("Style.Icon") as Style;
icon.Data = FindResource("Icon.Tag") as Geometry;
icon.Width = 10;
diff --git a/src/UI/Init.xaml b/src/UI/Init.xaml
index 60ea1d96..285442e2 100644
--- a/src/UI/Init.xaml
+++ b/src/UI/Init.xaml
@@ -24,7 +24,7 @@
-
+
diff --git a/src/UI/InteractiveRebase.xaml b/src/UI/InteractiveRebase.xaml
index 1f1df2d8..3efca37f 100644
--- a/src/UI/InteractiveRebase.xaml
+++ b/src/UI/InteractiveRebase.xaml
@@ -51,7 +51,7 @@
-
+
-
+
@@ -78,7 +78,7 @@
-
+
@@ -117,7 +117,7 @@
-
+
@@ -149,11 +149,11 @@
Orientation="Horizontal"
Margin="4,0">
-
+
-
+
@@ -199,11 +199,11 @@
-
+
-
+
diff --git a/src/UI/Launcher.xaml b/src/UI/Launcher.xaml
index 604ecdcd..159109ad 100644
--- a/src/UI/Launcher.xaml
+++ b/src/UI/Launcher.xaml
@@ -62,7 +62,7 @@
-
+
@@ -79,12 +79,11 @@
-
+
diff --git a/src/UI/Launcher.xaml.cs b/src/UI/Launcher.xaml.cs
index 91572599..83418145 100644
--- a/src/UI/Launcher.xaml.cs
+++ b/src/UI/Launcher.xaml.cs
@@ -195,7 +195,6 @@ namespace SourceGit.UI {
bookmark.Header = App.Text("RepoCM.Bookmark");
for (int i = 0; i < Converters.IntToRepoColor.Colors.Length; i++) {
var icon = new System.Windows.Shapes.Path();
- icon.Style = FindResource("Style.Icon") as Style;
icon.Data = iconBookmark;
icon.Fill = Converters.IntToRepoColor.Colors[i];
icon.Width = 8;
diff --git a/src/UI/Merge.xaml b/src/UI/Merge.xaml
index 7eac73b0..0d7c1043 100644
--- a/src/UI/Merge.xaml
+++ b/src/UI/Merge.xaml
@@ -25,13 +25,13 @@
-
+
-
+
diff --git a/src/UI/NewPage.xaml b/src/UI/NewPage.xaml
index ffe265de..f0588a7e 100644
--- a/src/UI/NewPage.xaml
+++ b/src/UI/NewPage.xaml
@@ -29,7 +29,7 @@
-
+
@@ -43,13 +43,13 @@
-
+
-
+
@@ -122,7 +122,7 @@
x:Name="icon"
Grid.Column="0"
Width="16" Height="16"
- Style="{StaticResource Style.Icon}"
+
Data="{StaticResource Icon.Folder.Fill}"/>
diff --git a/src/UI/NewPage.xaml.cs b/src/UI/NewPage.xaml.cs
index c90bff38..121b98da 100644
--- a/src/UI/NewPage.xaml.cs
+++ b/src/UI/NewPage.xaml.cs
@@ -256,7 +256,6 @@ namespace SourceGit.UI {
bookmark.Header = App.Text("RepoCM.Bookmark");
for (int i = 0; i < Converters.IntToRepoColor.Colors.Length; i++) {
var icon = new System.Windows.Shapes.Path();
- icon.Style = FindResource("Style.Icon") as Style;
icon.Data = iconBookmark;
icon.Fill = Converters.IntToRepoColor.Colors[i];
icon.Width = 8;
diff --git a/src/UI/PopupManager.xaml b/src/UI/PopupManager.xaml
index d0522783..b05c6061 100644
--- a/src/UI/PopupManager.xaml
+++ b/src/UI/PopupManager.xaml
@@ -14,7 +14,7 @@
-
+
diff --git a/src/UI/Pull.xaml b/src/UI/Pull.xaml
index ed7fd64f..2cc3ec7d 100644
--- a/src/UI/Pull.xaml
+++ b/src/UI/Pull.xaml
@@ -33,7 +33,7 @@
-
+
@@ -47,7 +47,7 @@
-
+
@@ -56,7 +56,7 @@
-
+
diff --git a/src/UI/Push.xaml b/src/UI/Push.xaml
index 447d8f96..5e585798 100644
--- a/src/UI/Push.xaml
+++ b/src/UI/Push.xaml
@@ -34,7 +34,7 @@
-
+
@@ -49,7 +49,7 @@
-
+
@@ -63,7 +63,7 @@
-
+
diff --git a/src/UI/PushTag.xaml b/src/UI/PushTag.xaml
index 46d44749..39474dc3 100644
--- a/src/UI/PushTag.xaml
+++ b/src/UI/PushTag.xaml
@@ -24,7 +24,7 @@
-
+
@@ -35,7 +35,7 @@
-
+
diff --git a/src/UI/Rebase.xaml b/src/UI/Rebase.xaml
index 7548a89c..511e085b 100644
--- a/src/UI/Rebase.xaml
+++ b/src/UI/Rebase.xaml
@@ -25,13 +25,13 @@
-
+
-
+
diff --git a/src/UI/RenameBranch.xaml b/src/UI/RenameBranch.xaml
index 08fdbcd9..ca1c34ac 100644
--- a/src/UI/RenameBranch.xaml
+++ b/src/UI/RenameBranch.xaml
@@ -26,7 +26,7 @@
-
+
diff --git a/src/UI/Reset.xaml b/src/UI/Reset.xaml
index 87b86f05..db6ddbef 100644
--- a/src/UI/Reset.xaml
+++ b/src/UI/Reset.xaml
@@ -25,13 +25,13 @@
-
+
-
+
@@ -40,7 +40,7 @@
-
+
diff --git a/src/UI/Revert.xaml b/src/UI/Revert.xaml
index 3d799975..aa82e9ce 100644
--- a/src/UI/Revert.xaml
+++ b/src/UI/Revert.xaml
@@ -24,7 +24,7 @@
-
+
diff --git a/src/UI/SettingDialog.xaml b/src/UI/SettingDialog.xaml
index 0e06451d..7059eb00 100644
--- a/src/UI/SettingDialog.xaml
+++ b/src/UI/SettingDialog.xaml
@@ -35,7 +35,7 @@
-
+
@@ -52,7 +52,7 @@
-
+
@@ -138,7 +138,7 @@
Text="{Binding Source={x:Static app:App.Setting}, Path=Tools.GitExecutable, Mode=TwoWay}"
helpers:TextBoxHelper.Placeholder="{StaticResource Text.Preference.Git.Path.Placeholder}"/>
-
+
@@ -154,7 +154,7 @@
Text="{Binding Source={x:Static app:App.Setting}, Path=Tools.GitDefaultCloneDir, Mode=TwoWay}"
helpers:TextBoxHelper.Placeholder="{StaticResource Text.Preference.Git.Dir.Placeholder}"/>
-
+
@@ -206,7 +206,7 @@
Text="{Binding Source={x:Static app:App.Setting}, Path=Tools.MergeExecutable, Mode=TwoWay}"
helpers:TextBoxHelper.Placeholder="{StaticResource Text.Preference.Merger.Path.Placeholder}"/>
-
+
diff --git a/src/UI/TwoCommitsDiff.xaml b/src/UI/TwoCommitsDiff.xaml
index 643c1356..63765873 100644
--- a/src/UI/TwoCommitsDiff.xaml
+++ b/src/UI/TwoCommitsDiff.xaml
@@ -43,7 +43,7 @@
-
+
-
+
diff --git a/src/UI/UpdateAvailable.xaml b/src/UI/UpdateAvailable.xaml
index 785a6151..ca637ae6 100644
--- a/src/UI/UpdateAvailable.xaml
+++ b/src/UI/UpdateAvailable.xaml
@@ -31,7 +31,7 @@
-
+
@@ -48,7 +48,7 @@
-
+
@@ -70,7 +70,7 @@
-
+
diff --git a/src/UI/WorkingCopy.xaml b/src/UI/WorkingCopy.xaml
index ee9512ad..3ebd473c 100644
--- a/src/UI/WorkingCopy.xaml
+++ b/src/UI/WorkingCopy.xaml
@@ -64,10 +64,10 @@
Opacity=".4"/>
-
+
-
+
@@ -107,7 +107,7 @@
-
+
@@ -225,10 +225,10 @@
Opacity=".4"/>
-
+
-
+
@@ -268,7 +268,7 @@
-
+
@@ -378,7 +378,7 @@
-
+
@@ -423,7 +423,7 @@
-
+