dynamic server in subscription selection title

This commit is contained in:
Eric Le Lay 2017-04-09 18:37:15 +02:00
parent 00b0094b82
commit 49d2e45486
1 changed files with 3 additions and 1 deletions

View File

@ -2922,9 +2922,11 @@ class gPodder(BuilderWidget, dbus.service.Object):
def on_download_subscriptions_from_mygpo(self, action=None):
def after_login():
title = _('Subscriptions on %(server)s') \
% {'server': self.config.mygpo.server}
dir = gPodderPodcastDirectory(self.gPodder,
_config=self.config,
custom_title=_('Subscriptions on gpodder.net'),
custom_title=title,
add_podcast_list=self.add_podcast_list,
hide_url_entry=True)