Fix #8023 (Make plugin wrap factor a higher number for the preferences dialog)

This commit is contained in:
Kovid Goyal 2010-12-23 09:09:41 -07:00
parent ab87958a9a
commit 64b81e6e9a

View File

@ -103,7 +103,7 @@ class PluginModel(QAbstractItemModel): # {{{
plugin = self.index_to_plugin(index)
if role == Qt.DisplayRole:
ver = '.'.join(map(str, plugin.version))
desc = '\n'.join(textwrap.wrap(plugin.description, 50))
desc = '\n'.join(textwrap.wrap(plugin.description, 100))
ans='%s (%s) %s %s\n%s'%(plugin.name, ver, _('by'), plugin.author, desc)
c = plugin_customization(plugin)
if c: