diff --git a/src/calibre/gui2/actions/layout_actions.py b/src/calibre/gui2/actions/layout_actions.py index 74a98e9427..4933de5c98 100644 --- a/src/calibre/gui2/actions/layout_actions.py +++ b/src/calibre/gui2/actions/layout_actions.py @@ -61,9 +61,3 @@ class LayoutActions(InterfaceAction): def show_all(self): for name in self.gui.button_order: self.set_visible(Panel(name), show=True) - - def button_names(self): - names = {} - for p in Panel: - names[self._button_from_enum(p).label] = p - return names