Author: andar
Revision: 5252
Log:
Remove some useless code
Diff:
Modified: trunk/deluge/common.py
===================================================================
--- trunk/deluge/common.py 2009-05-09 17:46:13 UTC (rev 5251)
+++ trunk/deluge/common.py 2009-05-10 19:11:06 UTC (rev 5252)
@@ -200,15 +200,8 @@
:param url: the url to open
"""
- import threading
import webbrowser
- class BrowserThread(threading.Thread):
- def __init__(self, url):
- threading.Thread.__init__(self)
- self.url = url
- def run(self):
- webbrowser.open(self.url)
- BrowserThread(url).start()
+ webbrowser.open(url)
## Formatting text functions
Modified: trunk/deluge/ui/gtkui/aboutdialog.py
===================================================================
--- trunk/deluge/ui/gtkui/aboutdialog.py 2009-05-09 17:46:13 UTC (rev
5251)
+++ trunk/deluge/ui/gtkui/aboutdialog.py 2009-05-10 19:11:06 UTC (rev
5252)
@@ -42,11 +42,8 @@
self.about.set_name("Deluge")
self.about.set_program_name("Deluge")
- # Get the version and revision numbers
- rev = deluge.common.get_revision()
version = deluge.common.get_version()
- if rev != "":
- version = version + "r" + rev
+
self.about.set_copyright(u'Copyright \u00A9 2007-2009 Andrew Resch')
self.about.set_comments("A peer-to-peer file sharing
program\nutilizing the Bittorrent protocol.")
self.about.set_version(version)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---