~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to share/extensions/webbrowser_relnotes.py

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python 
 
2
import webbrowser, threading
 
3
url = "http://wiki.inkscape.org/wiki/index.php/ReleaseNotes046"
 
4
 
 
5
class VisitWebSiteWithoutLockingInkscape(threading.Thread):
 
6
    def __init__(self, url):
 
7
        self.url = url
 
8
        threading.Thread.__init__ (self)
 
9
 
 
10
    def run(self):       
 
11
        webbrowser.open(self.url)
 
12
        
 
13
vwswli = VisitWebSiteWithoutLockingInkscape(url)
 
14
vwswli.start()