remove unused code

This commit is contained in:
Kovid Goyal 2023-07-10 16:34:24 +05:30
parent e2a7ce6bba
commit ce7c2c6d14
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -61,9 +61,3 @@ class LayoutActions(InterfaceAction):
def show_all(self): def show_all(self):
for name in self.gui.button_order: for name in self.gui.button_order:
self.set_visible(Panel(name), show=True) 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