From 5c678a29b44840c3f29b7a7241ef99b6191b5a2a Mon Sep 17 00:00:00 2001 From: Jesse van den Kieboom Date: Sat, 12 Jul 2014 00:50:05 +0200 Subject: [PATCH] Remove use of deprecated properties --- gitg/history/gitg-history-refs-list.vala | 10 +++++----- gitg/resources/ui/gitg-history-ref-row.ui | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) 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 1 @@ -28,7 +28,7 @@ True middle - 0 + start