From aa5df48c45328c43d1325be2dc3e46840a80ceac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 27 Jan 2025 20:00:47 +0100 Subject: [PATCH] apps-menu: Set BoxLayout orientation Use the new `orientation` property instead of `vertical`, as the latter is deprecated. Part-of: --- extensions/apps-menu/extension.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js index 688c7595..c9deecfa 100644 --- a/extensions/apps-menu/extension.js +++ b/extensions/apps-menu/extension.js @@ -547,7 +547,9 @@ class ApplicationsButton extends PanelMenu.Button { let section = new PopupMenu.PopupMenuSection(); this.menu.addMenuItem(section); this.mainBox = new St.BoxLayout({layoutManager: new MainLayout()}); - this.leftBox = new St.BoxLayout({vertical: true}); + this.leftBox = new St.BoxLayout({ + orientation: Clutter.Orientation.VERTICAL, + }); this.applicationsScrollBox = new St.ScrollView({ style_class: 'apps-menu vfade', x_expand: true, @@ -557,9 +559,13 @@ class ApplicationsButton extends PanelMenu.Button { }); this.leftBox.add_child(this.categoriesScrollBox); - this.applicationsBox = new St.BoxLayout({vertical: true}); + this.applicationsBox = new St.BoxLayout({ + orientation: Clutter.Orientation.VERTICAL, + }); this.applicationsScrollBox.set_child(this.applicationsBox); - this.categoriesBox = new St.BoxLayout({vertical: true}); + this.categoriesBox = new St.BoxLayout({ + orientation: Clutter.Orientation.VERTICAL, + }); this.categoriesScrollBox.set_child(this.categoriesBox); this.mainBox.add_child(this.leftBox);