From 497fea0cc9523a787c258380f0855e04830be776 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 20 Dec 2013 23:58:17 +0530 Subject: [PATCH] Edit book: Fix a typo causing the preferences for which windows occupy which corners to not work --- src/calibre/gui2/tweak_book/preferences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tweak_book/preferences.py b/src/calibre/gui2/tweak_book/preferences.py index 4119ec53ae..acafa2a8ed 100644 --- a/src/calibre/gui2/tweak_book/preferences.py +++ b/src/calibre/gui2/tweak_book/preferences.py @@ -215,7 +215,7 @@ class MainWindowSettings(BasicSettings): choices = {'vertical':{'left':_('Left'), 'right':_('Right')}[h], 'horizontal':{'top':_('Top'), 'bottom':_('Bottom')}[v]} name = 'dock_%s_%s' % (v, h) - w = self.choices_widget(name, choices, 'vertical', 'vertical') + w = self.choices_widget(name, choices, 'horizontal', 'horizontal') cn = {('top', 'left'): _('The top-left corner'), ('top', 'right'):_('The top-right corner'), ('bottom', 'left'):_('The bottom-left corner'), ('bottom', 'right'):_('The bottom-right corner')}[(v, h)] l.addRow(cn + ':', w)