[gitg/wip/actions: 21/26] Remove use of deprecated properties
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/actions: 21/26] Remove use of deprecated properties
- Date: Sat, 12 Jul 2014 08:57:18 +0000 (UTC)
commit 5c678a29b44840c3f29b7a7241ef99b6191b5a2a
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Sat Jul 12 00:50:05 2014 +0200
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 175e4a6..b6dd34b 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(@"<b>$escaped</b>");
- 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 6ae535a..a1158c6 100644
--- a/gitg/resources/ui/gitg-history-ref-row.ui
+++ b/gitg/resources/ui/gitg-history-ref-row.ui
@@ -15,10 +15,10 @@
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="spacing">6</property>
- <property name="margin_left">18</property>
+ <property name="margin_start">18</property>
<property name="margin_top">3</property>
<property name="margin_bottom">3</property>
- <property name="margin_right">3</property>
+ <property name="margin_end">3</property>
<child>
<object class="GtkImage" id="d_icon">
<property name="icon_size">1</property>
@@ -28,7 +28,7 @@
<object class="GtkLabel" id="d_label">
<property name="visible">True</property>
<property name="ellipsize">middle</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]