Add "Refresh" item to podcast context menu
This commit is contained in:
parent
8caf02e713
commit
61863f14e3
1 changed files with 8 additions and 1 deletions
|
@ -109,6 +109,12 @@ SlidePage {
|
||||||
onClicked: pgst.loadPage('EpisodesPage.qml', {'podcast_id': id, 'title': title});
|
onClicked: pgst.loadPage('EpisodesPage.qml', {'podcast_id': id, 'title': title});
|
||||||
onPressAndHold: {
|
onPressAndHold: {
|
||||||
pgst.showSelection([
|
pgst.showSelection([
|
||||||
|
{
|
||||||
|
label: 'Refresh',
|
||||||
|
callback: function () {
|
||||||
|
py.call('main.check_for_episodes', [url]);
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Unsubscribe',
|
label: 'Unsubscribe',
|
||||||
callback: function () {
|
callback: function () {
|
||||||
|
@ -116,7 +122,8 @@ SlidePage {
|
||||||
pgst.showConfirmation(title, 'Unsubscribe', 'Cancel', 'Remove this podcast and all downloaded episodes?', Icons.trash, function () {
|
pgst.showConfirmation(title, 'Unsubscribe', 'Cancel', 'Remove this podcast and all downloaded episodes?', Icons.trash, function () {
|
||||||
ctx.py.call('main.unsubscribe', [ctx.id]);
|
ctx.py.call('main.unsubscribe', [ctx.id]);
|
||||||
});
|
});
|
||||||
} },
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Rename',
|
label: 'Rename',
|
||||||
callback: function () {
|
callback: function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue