diff --git a/src/ui/play_queue.vala b/src/ui/play_queue.vala index 07e8976..05ccb36 100644 --- a/src/ui/play_queue.vala +++ b/src/ui/play_queue.vala @@ -3,6 +3,7 @@ [GtkTemplate (ui = "/eu/callcc/audrey/ui/play_queue_song.ui")] class Ui.PlayQueueSong : Gtk.ListBoxRow { public bool draggable { get; set; default = false; } + public bool show_position { get; set; default = false; } public bool show_artist { get; set; default = false; } public bool show_album { get; set; default = false; } @@ -138,6 +139,7 @@ public class Ui.PlayQueue : Adw.NavigationPage { var child = new PlayQueueSong (this.playbin); child.draggable = true; + child.show_position = false; child.show_artist = true; child.show_album = true; diff --git a/src/ui/play_queue_song.blp b/src/ui/play_queue_song.blp index 0a008dc..a900b91 100644 --- a/src/ui/play_queue_song.blp +++ b/src/ui/play_queue_song.blp @@ -25,6 +25,7 @@ template $UiPlayQueueSong: ListBoxRow { } Label { + visible: bind template.show_position; focusable: false; halign: end; justify: right;