Use the new layout icon on the status bar as suggested here:

https://www.mobileread.com/forums/showthread.php?p=4339960#post4339960
This commit is contained in:
Charles Haley 2023-07-15 09:57:26 +01:00
parent 52c3084aa3
commit babae5c3cd

View File

@ -642,7 +642,7 @@ class LayoutMixin: # {{{
b.setAutoRaise(True), b.setCursor(Qt.CursorShape.PointingHandCursor) b.setAutoRaise(True), b.setCursor(Qt.CursorShape.PointingHandCursor)
b.setPopupMode(QToolButton.ToolButtonPopupMode.InstantPopup) b.setPopupMode(QToolButton.ToolButtonPopupMode.InstantPopup)
b.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonTextBesideIcon) b.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonTextBesideIcon)
b.setText(_('Layout')), b.setIcon(QIcon.ic('config.png')) b.setText(_('Layout')), b.setIcon(QIcon.ic('layout.png'))
b.setMenu(LayoutMenu(self)) b.setMenu(LayoutMenu(self))
b.setToolTip(_( b.setToolTip(_(
'Show and hide various parts of the calibre main window')) 'Show and hide various parts of the calibre main window'))