refactor(panel): remove redundant hide_dropdowns and changed_dropdown implementations
These methods were relocated to central handling via _get_all_buttons and manage_button_style_classes, simplifying the class.
This commit is contained in:
3 files changed
+32
-15
No files matched your search
@@ -46,6 +46,7 @@ class Panel(Window):
|
||||
on_clicked=lambda *_: self.globalmenu.show_system_dropdown((self.imac)),
|
||||
)
|
||||
setup_cursor_hover(self.imac, "pointer")
|
||||
self.globalmenu.set_imac_button(self.imac)
|
||||
|
||||
self.tray = SystemTray(name="panel-button", spacing=4, icon_size=20)
|
||||
|
||||
|
||||
Reference in new issue
Block a user