From ce7c2c6d149a59de6fa7609b4cac28a604c92d24 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 10 Jul 2023 16:34:24 +0530 Subject: [PATCH] remove unused code --- src/calibre/gui2/actions/layout_actions.py | 6 ------ 1 file changed, 6 deletions(-) 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