Adapt in_downloads() to the adaptive version

This commit is contained in:
Teemu Ikonen 2022-08-12 13:38:52 +03:00
parent 9f168c5bda
commit 10250404e8
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ class gPodder(BuilderWidget, dbus.service.Object):
return None
def in_downloads(self):
return self.wNotebook.get_current_page() > 0
return self.application.get_active_window() == self.progress_window
def on_played(self, start, end, total, file_uri):
"""Handle the "played" signal from a media player"""