Clean up push up / pull down menu in podcasts page

This commit is contained in:
Thomas Perl 2014-02-03 20:02:32 +01:00
parent e4679de583
commit 0322ab5d65
2 changed files with 6 additions and 6 deletions

@ -1 +1 @@
Subproject commit a621f93311b285c0c530528603d11a18bda6023a
Subproject commit 3b53c3c557b06e1c3653539462c11664966a1140

View file

@ -34,16 +34,16 @@ Page {
VerticalScrollDecorator { flickable: podcastList }
PullDownMenu {
MenuItem {
text: "Settings"
onClicked: pgst.loadPage('Settings.qml');
}
busy: py.refreshing
MenuItem {
text: 'Check for new episodes'
text: py.refreshing ? 'Checking for new episodes...' : 'Check for new episodes'
enabled: podcastListModel.count > 0 && !py.refreshing
onClicked: py.call('main.check_for_episodes');
}
}
PushUpMenu {
MenuItem {
text: 'Add new podcast'
onClicked: pgst.loadPage('Subscribe.qml');