diff options
author | fiaxh <git@mx.ax.lt> | 2017-11-06 01:02:13 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-11-16 14:09:30 +0100 |
commit | 1d0745177e7a116455811dfd26e07b848cb89b75 (patch) | |
tree | 7517c4b1e1fd932e22bff091c9eb93f1c1884b35 /main/src/ui/occupant_menu | |
parent | f6ac5bbd26638412a2289fd1d28ef12de1d7e8b5 (diff) | |
download | dino-1d0745177e7a116455811dfd26e07b848cb89b75.tar.gz dino-1d0745177e7a116455811dfd26e07b848cb89b75.zip |
Replace deprecated function usages
Diffstat (limited to 'main/src/ui/occupant_menu')
-rw-r--r-- | main/src/ui/occupant_menu/list.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/occupant_menu/list.vala b/main/src/ui/occupant_menu/list.vala index 3477885f..47adccb6 100644 --- a/main/src/ui/occupant_menu/list.vala +++ b/main/src/ui/occupant_menu/list.vala @@ -119,10 +119,10 @@ public class List : Box { if (aff == affiliation) count++; } - Label title_label = new Label("") { margin_left=10, xalign=0, visible=true }; + Label title_label = new Label("") { margin_start=10, xalign=0, visible=true }; title_label.set_markup(@"<b>$(Markup.escape_text(aff_str))</b>"); - Label count_label = new Label(@"$count") { xalign=0, margin_right=7, expand=true, visible=true }; + Label count_label = new Label(@"$count") { xalign=0, margin_end=7, expand=true, visible=true }; count_label.get_style_context().add_class("dim-label"); Grid grid = new Grid() { margin_top=top?5:15, column_spacing=5, hexpand=true, visible=true }; |