From 47b438db2bb563a507840d39193a63b652adadbb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 8 Oct 2013 16:16:23 +0530 Subject: [PATCH] Fix docks not working in calibre style --- src/calibre/gui2/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/calibre/gui2/__init__.py b/src/calibre/gui2/__init__.py index 6116024938..569a531216 100644 --- a/src/calibre/gui2/__init__.py +++ b/src/calibre/gui2/__init__.py @@ -873,6 +873,11 @@ class Application(QApplication): 'MessageBoxWarning': u'dialog_warning.png', 'MessageBoxCritical': u'dialog_error.png', 'MessageBoxQuestion': u'dialog_question.png', + # These two are used to calculate the sizes for the doc widget + # title bar buttons, therefore, they have to exist. The actual + # icon is not used. + 'TitleBarCloseButton': u'window-close.png', + 'TitleBarNormalButton': u'window-close.png', }.iteritems(): if v not in pcache: p = I(v)