Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Do not cache BuddyMenu in favorites view
Let BuddyMenu be created on-demand. Remove set_registered method, as this palette is now created on-demand, makes no sense to modify the current items as these will be set properly in the next initialization. Remove _palette_enabled as this is deprecated code from previous palette implementation. Remove self._register_menu and simplify code. This partch avoids #2184 issue for the buddy icon palette in favorites view. Signed-off-by: Martin Abente Lahaye <tch@sugarlabs.org>
- Loading branch information
Showing
1 changed file
with
6 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters