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:
Florian Müllner
2020-01-09 20:16:39 +01:00
parent 0500480d75
commit 9c964eaf1b
+1 -1
View File
@@ -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;