let system env find location

This commit is contained in:
Marcos Pinto 2007-08-08 22:17:27 +00:00
parent 86ce83edb1
commit fa505b6750
1 changed files with 3 additions and 3 deletions

View File

@ -640,11 +640,11 @@ class DelugeGTK:
try: try:
for uid in unique_ids: for uid in unique_ids:
if self.config.get("file_manager") == 0: if self.config.get("file_manager") == 0:
command = "/usr/bin/konqueror" command = "konqueror"
if self.config.get("file_manager") == 1: if self.config.get("file_manager") == 1:
command = "/usr/bin/nautilus" command = "nautilus"
if self.config.get("file_manager") == 2: if self.config.get("file_manager") == 2:
command = "/usr/bin/thunar" command = "thunar"
os.system('%s %s' %(command, self.manager.unique_IDs[uid].save_dir)) os.system('%s %s' %(command, self.manager.unique_IDs[uid].save_dir))
except KeyError: except KeyError:
pass pass