drive-menu: Stop using deprecated child properties
StBoxLayout's child properties were deprecated in favor of the generic expand/align properties. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/102
This commit is contained in:
@@ -17,7 +17,7 @@ class MountMenuItem extends PopupMenu.PopupBaseMenuItem {
|
||||
super._init();
|
||||
|
||||
this.label = new St.Label({ text: mount.get_name() });
|
||||
this.add(this.label, { expand: true });
|
||||
this.add_child(this.label);
|
||||
this.label_actor = this.label;
|
||||
|
||||
this.mount = mount;
|
||||
|
||||
Reference in New Issue
Block a user