diff --git a/src/calibre/gui2/actions/__init__.py b/src/calibre/gui2/actions/__init__.py index 5f1c55c909..37221ada3f 100644 --- a/src/calibre/gui2/actions/__init__.py +++ b/src/calibre/gui2/actions/__init__.py @@ -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: diff --git a/src/calibre/gui2/keyboard.py b/src/calibre/gui2/keyboard.py index e3563867e3..67a39b44e3 100644 --- a/src/calibre/gui2/keyboard.py +++ b/src/calibre/gui2/keyboard.py @@ -172,10 +172,10 @@ class Delegate(QStyledItemDelegate): # {{{ keys = _('None') else: keys = ', '.join(keys) - html = '

%s

%s: %s'%(shortcut['name'], _('Shortcuts'), keys) + html = '%s
%s: %s'%(shortcut['name'], _('Shortcuts'), keys) else: # Group - html = '

%s

'%data.data + html = '

%s

'%data.data doc = QTextDocument() doc.setHtml(html) return doc