Fix link in channel dialog by connecting signal and opening website.

This commit is contained in:
auouymous 2021-07-17 22:21:16 -06:00
parent 39f5f55ef5
commit 1dafe6e3d6
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ class gPodderChannel(BuilderWidget):
self.website_label.set_markup('<a href="{}">{}</a>'.format(
self.channel.link, self.channel.link)
if self.channel.link else '')
self.website_label.connect('activate-link', lambda label, url: util.open_website(url))
if self.channel.auth_username:
self.FeedUsername.set_text(self.channel.auth_username)