Skip to content

Conversation

@tpikonen
Copy link
Contributor

@tpikonen tpikonen commented Jul 5, 2022

Clicking a web link on a GtkLabel (there is one at least in Preferences->youtube-dl) opens the web page twice, from util.open_website and from GtKLabels 'activate-link' default handler.

Return True from util.open_website, so that the default handler will not be run.

@auouymous auouymous merged commit 6c0adf0 into gpodder:master Jul 5, 2022
@tpikonen tpikonen deleted the open-website-once branch July 5, 2022 15:02
@auouymous
Copy link
Member

I don't know why my gtk doesn't call the default activate-link handler, but the docs say it does so we should return True.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants