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:

committed by
Florian Müllner

parent
9758227ff5
commit
da6950562a
@ -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);
|
||||
|
Reference in New Issue
Block a user