From 00450417c7520b8724f78170f74c3d47ddffa068 Mon Sep 17 00:00:00 2001 From: Michael Guntsche Date: Wed, 21 May 2025 15:42:59 +0200 Subject: [PATCH] Fix launcher invocation in Gnome 48 This fixes #1775 by adapting the proposed fix in the comments a little bit so TSC is happy during transpiling. --- src/search.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/search.ts b/src/search.ts index 0d7a45f0..09460ba4 100644 --- a/src/search.ts +++ b/src/search.ts @@ -373,12 +373,7 @@ export class Search { this.list.show(); - const vscroll = (this.scroller as any).get_vscroll_bar(); - if ((this.scroller as any).vscrollbar_visible) { - vscroll.show(); - } else { - vscroll.hide(); - } + (this.scroller as any).set_policy(St.PolicyType.NEVER, St.PolicyType.AUTOMATIC); if (id === 0) { GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {