Use util.open_website rather than webbrowser.open to avoid blocking the UI

This commit is contained in:
Mathias Rav 2016-08-07 17:20:22 +02:00
parent c7ab9f6f70
commit 1831cc9b00

View file

@ -17,7 +17,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
import webbrowser
import gtk
import gtk.gdk
import gobject
@ -151,4 +150,4 @@ class gPodderShownotesText(gPodderShownotes):
i += 1
target = self.hyperlinks[i][1]
if target is not None:
webbrowser.open(target)
util.open_website(target)