diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-08-18 19:08:24 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-08-18 19:08:24 +0100 |
commit | 0c248e207a07838bbe20f4034ca0e04ec344ad89 (patch) | |
tree | fd1e63fbea773f4e73932c1ff0873d1eaa4745c8 /alot | |
parent | 54873c07b9bdb9264269aa811c0dca2a58489a08 (diff) |
fix issue with maildir sync changing filenames
Diffstat (limited to 'alot')
-rw-r--r-- | alot/buffer.py | 2 | ||||
-rw-r--r-- | alot/message.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/alot/buffer.py b/alot/buffer.py index 4d6eca6d..553648b4 100644 --- a/alot/buffer.py +++ b/alot/buffer.py @@ -251,10 +251,10 @@ class ThreadBuffer(Buffer): for mw in self.get_message_widgets(): msg = mw.get_message() if msg.matches(querystring): + mw.fold(visible=True) if 'unread' in msg.get_tags(): msg.remove_tags(['unread']) self.ui.apply_command(command.FlushCommand()) - mw.fold(visible=True) def get_message_widgets(self): return self.body.body.contents diff --git a/alot/message.py b/alot/message.py index 29f8896f..ed020af9 100644 --- a/alot/message.py +++ b/alot/message.py @@ -45,7 +45,6 @@ class Message: self._thread = thread self._datetime = datetime.fromtimestamp(msg.get_date()) self._filename = msg.get_filename() - # TODO: change api to return unicode self._from = msg.get_header('From') self._email = None # will be read upon first use self._attachments = None # will be read upon first use |