dateMenu: Add class to menu so border-radius can be set in stylesheet

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165>
This commit is contained in:
Sam Hewitt
2024-02-05 13:04:15 -03:30
committed by Florian Müllner
parent 9758227ff5
commit da6950562a
3 changed files with 7 additions and 1 deletions

View File

@ -890,6 +890,7 @@ class DateMenuButton extends PanelMenu.Button {
// For some minimal compatibility with PopupMenuItem
bin._delegate = this;
this.menu.box.add_child(bin);
this.menu.box.add_style_class_name('datemenu-popover');
hbox = new St.BoxLayout({name: 'calendarArea'});
bin.add_child(hbox);