Fix #6340 (Book count in library/device tooltips)

This commit is contained in:
Kovid Goyal 2010-07-29 16:24:24 -06:00
parent 8b78f63d32
commit 34a6ad083b

View File

@ -302,6 +302,7 @@ class ToolBar(QToolBar): # {{{
text = _('%d books')%new_count text = _('%d books')%new_count
a = self.choose_action a = self.choose_action
a.setText(text) a.setText(text)
a.setToolTip(_('Choose calibre library to work with') + '\n\n' + text)
def resizeEvent(self, ev): def resizeEvent(self, ev):
QToolBar.resizeEvent(self, ev) QToolBar.resizeEvent(self, ev)