default to no position shown in play queue
This commit is contained in:
parent
c6446f4352
commit
9ba12bf365
2 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ template $UiPlayQueueSong: ListBoxRow {
|
|||
}
|
||||
|
||||
Label {
|
||||
visible: bind template.show_position;
|
||||
focusable: false;
|
||||
halign: end;
|
||||
justify: right;
|
||||
|
|
Loading…
Reference in a new issue