Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/downloadmanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'downloadmanager.py')
-rw-r--r--downloadmanager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/downloadmanager.py b/downloadmanager.py
index a9cd960..8cb2391 100644
--- a/downloadmanager.py
+++ b/downloadmanager.py
@@ -79,7 +79,8 @@ class DownloadManager:
_com_interfaces_ = interfaces.nsIHelperAppLauncherDialog
def promptForSaveToFile(self, launcher, window_context,
- default_file, suggested_file_extension):
+ default_file, suggested_file_extension,
+ force_prompt=False):
file_class = components.classes["@mozilla.org/file/local;1"]
dest_file = file_class.createInstance(interfaces.nsILocalFile)