diff --git a/src/Views/Controls/Bookmark.cs b/src/Views/Controls/Bookmark.cs
index 5decdfd1..9250b705 100644
--- a/src/Views/Controls/Bookmark.cs
+++ b/src/Views/Controls/Bookmark.cs
@@ -39,14 +39,6 @@ namespace SourceGit.Views.Controls {
set { SetValue(IsNewPageProperty, value); }
}
- public static readonly DependencyProperty HideOnZeroProperty =
- DependencyProperty.Register("HideOnZero", typeof(bool), typeof(Bookmark), new PropertyMetadata(false, UpdateBookmark));
-
- public bool HideOnZero {
- get { return (bool)GetValue(HideOnZeroProperty); }
- set { SetValue(HideOnZeroProperty, value); }
- }
-
public Bookmark() {
icon = new Path();
Child = icon;
@@ -57,11 +49,6 @@ namespace SourceGit.Views.Controls {
var mark = d as Bookmark;
if (mark == null) return;
- if (mark.HideOnZero && mark.Color == 0) {
- mark.Visibility = Visibility.Collapsed;
- return;
- }
-
if (!mark.IsNewPage) {
if (mark.Color == 0) {
mark.icon.SetResourceReference(Path.FillProperty, "Brush.FG1");
@@ -74,8 +61,6 @@ namespace SourceGit.Views.Controls {
mark.icon.SetResourceReference(Path.FillProperty, "Brush.FG1");
mark.icon.Data = mark.FindResource("Icon.WelcomePage") as Geometry;
}
-
- mark.Visibility = Visibility.Visible;
}
}
}
diff --git a/src/Views/Widgets/PageTabBar.xaml b/src/Views/Widgets/PageTabBar.xaml
index 335f35f6..4b64766e 100644
--- a/src/Views/Widgets/PageTabBar.xaml
+++ b/src/Views/Widgets/PageTabBar.xaml
@@ -58,8 +58,7 @@
+ Color="{Binding Bookmark}"/>
-
+
+ IsNewPage="False"/>
@@ -154,32 +152,23 @@
LostFocus="RenameEnd"
IsHitTestVisible="True"
Visibility="Collapsed"/>
-
+
+
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+