diff --git a/src/Views/Widgets/Histories.xaml b/src/Views/Widgets/Histories.xaml
index eb1190be..002c0b93 100644
--- a/src/Views/Widgets/Histories.xaml
+++ b/src/Views/Widgets/Histories.xaml
@@ -122,8 +122,8 @@
+ Email="{Binding Author.Email}"
+ FallbackLabel="{Binding Author.Name}"/>
@@ -131,7 +131,7 @@
-
+
diff --git a/src/Views/Widgets/RevisionCompare.xaml b/src/Views/Widgets/RevisionCompare.xaml
index 4e66a372..d44fc37b 100644
--- a/src/Views/Widgets/RevisionCompare.xaml
+++ b/src/Views/Widgets/RevisionCompare.xaml
@@ -10,7 +10,7 @@
d:DesignHeight="450" d:DesignWidth="800">
-
+
@@ -28,33 +28,30 @@
BorderBrush="{DynamicResource Brush.Border2}"
BorderThickness="1"
Background="{DynamicResource Brush.Contents}"
- CornerRadius="4">
-
-
-
-
-
+ CornerRadius="4"
+ Padding="4"
+ TextElement.FontFamily="{Binding Source={x:Static models:Preference.Instance}, Path=General.FontFamilyContent, Mode=OneWay}">
+
+
+
+
+
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -74,33 +71,30 @@
BorderBrush="{DynamicResource Brush.Border2}"
BorderThickness="1"
Background="{DynamicResource Brush.Contents}"
- CornerRadius="4">
-
-
-
-
-
+ Padding="4"
+ CornerRadius="4"
+ TextElement.FontFamily="{Binding Source={x:Static models:Preference.Instance}, Path=General.FontFamilyContent, Mode=OneWay}">
+
+
+
+
+
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/src/Views/Widgets/RevisionCompare.xaml.cs b/src/Views/Widgets/RevisionCompare.xaml.cs
index 75ce957b..5336d01a 100644
--- a/src/Views/Widgets/RevisionCompare.xaml.cs
+++ b/src/Views/Widgets/RevisionCompare.xaml.cs
@@ -13,16 +13,18 @@ namespace SourceGit.Views.Widgets {
}
public void SetData(string repo, Models.Commit start, Models.Commit end) {
- avatarStart.Email = start.Committer.Email;
- avatarStart.FallbackLabel = start.Committer.Name;
+ avatarStart.Email = start.Author.Email;
+ avatarStart.FallbackLabel = start.Author.Name;
avatarStart.ToolTip = start.Committer.Name;
+ txtStartAuthor.Text = start.Author.Name;
txtStartSHA.Text = start.ShortSHA;
txtStartTime.Text = start.CommitterTimeStr;
txtStartSubject.Text = start.Subject;
- avatarEnd.Email = end.Committer.Email;
- avatarEnd.FallbackLabel = end.Committer.Name;
+ avatarEnd.Email = end.Author.Email;
+ avatarEnd.FallbackLabel = end.Author.Name;
avatarEnd.ToolTip = end.Committer.Name;
+ txtEndAuthor.Text = end.Author.Name;
txtEndSHA.Text = end.ShortSHA;
txtEndTime.Text = end.CommitterTimeStr;
txtEndSubject.Text = end.Subject;