This commit is contained in:
Kovid Goyal 2011-08-09 11:31:21 -06:00
parent 6affbface3
commit 6e557a77ee
2 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@ class InterfaceAction(QObject):
bn = self.__class__.__name__
if getattr(self.interface_action_base_plugin, 'name'):
bn = self.interface_action_base_plugin.name
return u'%s (%s)'%(bn, self.name)
return u'Interface Action: %s (%s)'%(bn, self.name)
def create_action(self, spec=None, attr='qaction'):
if spec is None:

View File

@ -172,10 +172,10 @@ class Delegate(QStyledItemDelegate): # {{{
keys = _('None')
else:
keys = ', '.join(keys)
html = '<h4>%s</h4>%s: %s'%(shortcut['name'], _('Shortcuts'), keys)
html = '<b>%s</b><br>%s: %s'%(shortcut['name'], _('Shortcuts'), keys)
else:
# Group
html = '<h2>%s</h2>'%data.data
html = '<h3>%s</h3>'%data.data
doc = QTextDocument()
doc.setHtml(html)
return doc