コード例 #1
0
 def launch_torrent(self, infohash):
     """Launch the torrent contents according to operating system."""
     if infohash in self.torrents:
         torrent = self.torrents[infohash]
         if torrent.metainfo.is_batch:
             LaunchPath.launchdir(torrent.working_path)
         else:
             LaunchPath.launchfile(torrent.working_path)
コード例 #2
0
ファイル: UI.py プロジェクト: BackupTheBerlios/tf-b4rt-svn
 def launch_torrent(self, infohash):
     """Launch the torrent contents according to operating system."""
     if self.torrents.has_key(infohash):
         torrent = self.torrents[infohash]
         if torrent.metainfo.is_batch:
             LaunchPath.launchdir(torrent.working_path)
         else:
             LaunchPath.launchfile(torrent.working_path)
コード例 #3
0
 def launch_torrent_folder(self, infohash):
     """Launch the torrent location according to operating system."""
     if infohash in self.torrents:
         torrent = self.torrents[infohash]
         if torrent.metainfo.is_batch:
             LaunchPath.launchdir(torrent.working_path)
         else:
             path, file = os.path.split(torrent.working_path)
             LaunchPath.launchdir(path)
コード例 #4
0
ファイル: UI.py プロジェクト: BackupTheBerlios/tf-b4rt-svn
 def launch_torrent_folder(self, infohash):
     """Launch the torrent location according to operating system."""
     if self.torrents.has_key(infohash):
         torrent = self.torrents[infohash]
         if torrent.metainfo.is_batch:
             LaunchPath.launchdir(torrent.working_path)
         else:
             path, file = os.path.split(torrent.working_path)
             LaunchPath.launchdir(path)
コード例 #5
0
 def launch_installer_at_exit(self):
     LaunchPath.launchfile(self.installer_to_launch_at_exit)
コード例 #6
0
ファイル: UI.py プロジェクト: BackupTheBerlios/tf-b4rt-svn
 def launch_installer_at_exit(self):
     LaunchPath.launchfile(self.installer_to_launch_at_exit)