From b7fd89c1affa052bc164a8fe428ab085de4257d0 Mon Sep 17 00:00:00 2001 From: a-hm <49108550+a-hm@users.noreply.github.com> Date: Wed, 7 Oct 2026 11:35:39 +0000 Subject: [PATCH] replaced deprecated vertical property of St.BoxLayout for Gnome 51 --- src/historyMenuElements.ts | 4 ++-- src/metadata.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/historyMenuElements.ts b/src/historyMenuElements.ts index a5316b3..9243284 100644 --- a/src/historyMenuElements.ts +++ b/src/historyMenuElements.ts @@ -178,7 +178,7 @@ class HistoryElement extends PopupMenu.PopupSubMenuMenuItem { this.label.destroy(); this._container = new St.BoxLayout({ - vertical: true, + orientation: Clutter.Orientation.VERTICAL, }); this._dateLabel = new St.Label({ @@ -492,7 +492,7 @@ class NewWallpaperElement extends PopupMenu.PopupBaseMenuItem { super(undefined); const container = new St.BoxLayout({ - vertical: true, + orientation: Clutter.Orientation.VERTICAL, }); const newWPLabel = new St.Label({ diff --git a/src/metadata.json b/src/metadata.json index 0a8bc31..03bc7a7 100644 --- a/src/metadata.json +++ b/src/metadata.json @@ -1,5 +1,5 @@ { - "shell-version": [ "48", "49", "50" ], + "shell-version": [ "48", "49", "50", "51" ], "uuid": "randomwallpaper@iflow.space", "settings-schema": "org.gnome.shell.extensions.space.iflow.randomwallpaper", "name": "Random Wallpaper",