Make refreshing a boolean property of GPodderCore
This commit is contained in:
parent
fdaa87df4c
commit
3b53c3c557
2 changed files with 4 additions and 14 deletions
|
@ -27,6 +27,7 @@ Python {
|
|||
|
||||
property string progname: 'gpodder'
|
||||
property bool ready: false
|
||||
property bool refreshing: false
|
||||
signal downloading(int episode_id)
|
||||
signal downloadProgress(int episode_id, real progress)
|
||||
signal playbackProgress(int episode_id, real progress)
|
||||
|
@ -54,6 +55,7 @@ Python {
|
|||
setHandler('podcast-list-changed', py.podcastListChanged);
|
||||
setHandler('updating-podcast', py.updatingPodcast);
|
||||
setHandler('updated-podcast', py.updatedPodcast);
|
||||
setHandler('refreshing', function(v) { py.refreshing = v; });
|
||||
|
||||
var path = Qt.resolvedUrl('../..').substr('file://'.length);
|
||||
addImportPath(path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue