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:
sankalp committed 2026-07-04 21:23:06 +05:45
1 parent ea815e33ca
commit f55db03235
3 files changed
+32 -15

No files matched your search

+1
View File
@@ -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)