Compare commits
2 commits
16d9c54bb0
...
86ca684643
Author | SHA1 | Date | |
---|---|---|---|
86ca684643 | |||
a770d71399 |
1 changed files with 3 additions and 3 deletions
|
@ -88,7 +88,7 @@ class Ui.Window : Adw.ApplicationWindow {
|
||||||
}
|
}
|
||||||
this.shuffle_all_tracks.sensitive = true;
|
this.shuffle_all_tracks.sensitive = true;
|
||||||
|
|
||||||
this.playbin.begin_playback (0);
|
this.play_queue_model.select_item (0, true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -189,12 +189,12 @@ class Ui.Window : Adw.ApplicationWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
[GtkCallback] private void on_skip_forward_clicked () {
|
[GtkCallback] private void on_skip_forward_clicked () {
|
||||||
this.playbin.begin_playback (this.playbin.playing_index+1);
|
this.play_queue_model.select_item (this.playbin.playing_index+1, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
[GtkCallback] private void on_skip_backward_clicked () {
|
[GtkCallback] private void on_skip_backward_clicked () {
|
||||||
if (this.playbin.playing_index > 0) {
|
if (this.playbin.playing_index > 0) {
|
||||||
this.playbin.begin_playback (this.playbin.playing_index-1);
|
this.play_queue_model.select_item (this.playbin.playing_index-1, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue