diff --git a/gitg/history/gitg-history-refs-list.vala b/gitg/history/gitg-history-refs-list.vala
index 175e4a60..b6dd34ba 100644
--- a/gitg/history/gitg-history-refs-list.vala
+++ b/gitg/history/gitg-history-refs-list.vala
@@ -100,12 +100,12 @@ private class RefRow : RefTyped, Gtk.ListBoxRow
if (reference != null)
{
- margin_left += 12;
+ margin_start += 12;
}
if (ref_type == Gitg.RefType.REMOTE)
{
- margin_left += 12;
+ margin_start += 12;
}
d_revealer.notify["child-revealed"].connect(on_child_revealed);
@@ -338,14 +338,14 @@ private class RefHeader : RefTyped, Gtk.ListBoxRow
var escaped = Markup.escape_text(name);
d_label.set_markup(@"$escaped");
- d_label.xalign = 0;
+ d_label.halign = Gtk.Align.START;
d_name = name;
d_rtype = rtype;
d_label.margin_top = 3;
d_label.margin_bottom = 3;
- d_label.margin_left = 16;
+ d_label.margin_start = 16;
}
public RefHeader.remote(string name)
@@ -353,7 +353,7 @@ private class RefHeader : RefTyped, Gtk.ListBoxRow
this(Gitg.RefType.REMOTE, name);
d_is_sub_header_remote = true;
- d_label.margin_left += 12;
+ d_label.margin_start += 12;
}
public bool is_sub_header_remote
diff --git a/gitg/resources/ui/gitg-history-ref-row.ui b/gitg/resources/ui/gitg-history-ref-row.ui
index 6ae535a9..a1158c63 100644
--- a/gitg/resources/ui/gitg-history-ref-row.ui
+++ b/gitg/resources/ui/gitg-history-ref-row.ui
@@ -15,10 +15,10 @@
True
horizontal
6
- 18
+ 18
3
3
- 3
+ 3