]> git.lizzy.rs Git - torbrowser-launcher.git/commitdiff
made it so error messages still launch even though they don't have any tasks
authorMicah Lee <micahflee@riseup.net>
Mon, 18 Feb 2013 03:25:38 +0000 (19:25 -0800)
committerMicah Lee <micahflee@riseup.net>
Mon, 18 Feb 2013 03:25:38 +0000 (19:25 -0800)
torbrowser-launcher

index 31177132f778d3c8a95aa08dcad98b2a2ec06261..e0638628137e1eaee7f57349f0557ee3e08fcd68 100755 (executable)
@@ -31,11 +31,11 @@ class TorBrowserLauncher:
           self.set_gui('task', "Your Tor Browser Launcher is out of date. Click Start to download the latest version from https://www.torproject.org.", ['download_tarball', 'download_tarball_sig', 'verify', 'extract', 'run'])
         else:
           # for some reason the installed tbb is newer than the current version?
-          self.set_gui('error', "Something is wrong. The version of Tor Browser Bundle you have installed is newer than the current version?")
+          self.set_gui('error', "Something is wrong. The version of Tor Browser Bundle you have installed is newer than the current version?", [])
 
       else:
         # if tbb is installed but the version file doesn't exist, something is wrong
-        self.set_gui('error', "Something is wrong. You have the Tor Browser Bundle installed, but the version file is missing.")
+        self.set_gui('error', "Something is wrong. You have the Tor Browser Bundle installed, but the version file is missing.", [])
 
     # not installed
     else: