diff options
author | Daniel <quite@hack.org> | 2012-03-05 19:03:57 +0100 |
---|---|---|
committer | Daniel <quite@hack.org> | 2012-03-06 11:17:28 +0100 |
commit | 3085e6222b90804c75fd75b00656b2f0c52cc99c (patch) | |
tree | 5a421de7fdc071b1ac1268d15a2c9c800c511b96 /alot/commands/thread.py | |
parent | b70331f53f131b12306c68c4cff81dfa36cff1cc (diff) |
Configurable prompt suffix
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r-- | alot/commands/thread.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index 17120c18..08f50733 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -607,9 +607,9 @@ class SaveAttachmentCommand(Command): if self.all: msg = ui.current_buffer.get_selected_message() if not self.path: - self.path = yield ui.prompt(prefix='save attachments to: ', - text=os.path.join('~', ''), - completer=pcomplete) + self.path = yield ui.prompt('save attachments to', + text=os.path.join('~', ''), + completer=pcomplete) if self.path: if os.path.isdir(os.path.expanduser(self.path)): for a in msg.get_attachments(): @@ -630,9 +630,9 @@ class SaveAttachmentCommand(Command): attachment = focus.get_attachment() filename = attachment.get_filename() if not self.path: - msg = 'save attachment (%s) to: ' % filename + msg = 'save attachment (%s) to ' % filename initialtext = os.path.join('~', filename) - self.path = yield ui.prompt(prefix=msg, + self.path = yield ui.prompt(msg, completer=pcomplete, text=initialtext) if self.path: |