diff --git a/icons/webcontentedit.png b/icons/webcontentedit.png index 9ae627f5..dc269a37 100644 Binary files a/icons/webcontentedit.png and b/icons/webcontentedit.png differ diff --git a/weboob/applications/qhavesex/contacts.py b/weboob/applications/qhavesex/contacts.py index dbee0078..21913c50 100644 --- a/weboob/applications/qhavesex/contacts.py +++ b/weboob/applications/qhavesex/contacts.py @@ -54,7 +54,6 @@ class ThreadMessage(QFrame): header += u' — Unread' elif message.flags & message.IS_ACCUSED: header += u' — Read' - header += ' (%s@%s)' % (message.id, message.thread.id) self.ui.headerLabel.setText(header) if message.flags & message.IS_HTML: content = message.content diff --git a/weboob/applications/webcontentedit/webcontentedit.py b/weboob/applications/webcontentedit/webcontentedit.py index 8765b31f..652c1da4 100644 --- a/weboob/applications/webcontentedit/webcontentedit.py +++ b/weboob/applications/webcontentedit/webcontentedit.py @@ -86,7 +86,7 @@ class WebContentEdit(ReplApplication): print 'Contents changed:\n%s' % ('\n'.join([' * %s' % content.id for content in contents])) - message = self.ask('Enter a commit message') + message = self.ask('Enter a commit message', default='') if not self.ask('Do you want to push?', default=True): return diff --git a/weboob/tools/application/repl.py b/weboob/tools/application/repl.py index 99ea36d3..822f1f61 100644 --- a/weboob/tools/application/repl.py +++ b/weboob/tools/application/repl.py @@ -925,7 +925,7 @@ class ReplApplication(Cmd, BaseApplication): question = u'%s (%s/%s)' % (question, 'Y' if v.default else 'y', 'n' if v.default else 'N') elif v.choices: question = u'%s (%s)' % (question, '/'.join([(s.upper() if s == v.default else s) for s in (v.choices.iterkeys())])) - elif default is not None and not v.masked: + elif default not in (None, '') and not v.masked: question = u'%s [%s]' % (question, v.default) if v.masked: