Small fixes and changes in qwebcontentedit and ICapContent.

- content preview's html code is now cleaner
 - ICapContent.preview_content() renamed to ICapContent.get_content_preview()
 - tab "preview" was shown first when starting qwebcontentedit. Fixed.
This commit is contained in:
Clément Schreiner 2011-02-03 14:28:43 +01:00
commit 3cbb5671d3
5 changed files with 27 additions and 20 deletions

View file

@ -36,5 +36,5 @@ class ICapContent(IBaseCap):
def push_content(self, content, message=None):
raise NotImplementedError()
def preview_content(self, content):
def get_content_preview(self, content):
raise NotImplementedError()