mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
Fix opening links from Help menu and others
This commit is contained in:
parent
bc0df7b6a7
commit
91dfbffd69
2 changed files with 12 additions and 11 deletions
|
@ -2,6 +2,9 @@ Deluge 1.1.1 - (In Development)
|
||||||
Core:
|
Core:
|
||||||
* Fix oldstateupgrader for those upgrading from 0.5.x
|
* Fix oldstateupgrader for those upgrading from 0.5.x
|
||||||
|
|
||||||
|
GtkUI:
|
||||||
|
* Fix opening links from Help menu and others
|
||||||
|
|
||||||
Misc:
|
Misc:
|
||||||
* Fix bdecoding some torrent files
|
* Fix bdecoding some torrent files
|
||||||
* Fix the -l, --logfile option
|
* Fix the -l, --logfile option
|
||||||
|
|
|
@ -188,7 +188,6 @@ def open_url_in_browser(url):
|
||||||
|
|
||||||
:param url: the url to open
|
:param url: the url to open
|
||||||
"""
|
"""
|
||||||
def start_browser():
|
|
||||||
import threading
|
import threading
|
||||||
import webbrowser
|
import webbrowser
|
||||||
class BrowserThread(threading.Thread):
|
class BrowserThread(threading.Thread):
|
||||||
|
@ -198,7 +197,6 @@ def open_url_in_browser(url):
|
||||||
def run(self):
|
def run(self):
|
||||||
webbrowser.open(self.url)
|
webbrowser.open(self.url)
|
||||||
BrowserThread(url).start()
|
BrowserThread(url).start()
|
||||||
return False
|
|
||||||
|
|
||||||
## Formatting text functions
|
## Formatting text functions
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue