Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract common code for opening a link #6

Merged
merged 2 commits into from
Dec 19, 2013

Conversation

tiwoc
Copy link
Contributor

@tiwoc tiwoc commented Dec 18, 2013

Previously, the following functions used almost the same code:

  • on_Itemlist_row_activated
  • on_popup_launch_item_selected
  • on_popup_launch_item_in_tab_selected
  • on_popup_launch_item_external_selected

This common code was extracted to a new function.

…bar.

When this fix is applied, the default target for opened links (internal
or external browser) is taken from the preferences.

Fixes lwindolf#1056, lwindolf#1089, lwindolf#1098
Previously, the following functions used almost the same code:
- on_Itemlist_row_activated
- on_popup_launch_item_selected
- on_popup_launch_item_in_tab_selected
- on_popup_launch_item_external_selected

This common code was extracted to a new function.
lwindolf added a commit that referenced this pull request Dec 19, 2013
 Extract common code for opening a link
@lwindolf lwindolf merged commit 005bb68 into lwindolf:master Dec 19, 2013
lwindolf added a commit that referenced this pull request Dec 19, 2013
…eferences when opening links (patch by Daniel Seither)
lwindolf added a commit that referenced this pull request Jan 13, 2014
… when opening links (patch by Daniel Seither)
@elthommy elthommy mentioned this pull request Aug 13, 2015
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