From b8759174f8a3003b7d897d9e15a927ceead18962 Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Mon, 5 Jun 2023 21:53:00 +0200 Subject: [PATCH] :beetle: Show dialog on GTK3 --- prefs.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/prefs.js b/prefs.js index f389e74..f19c319 100644 --- a/prefs.js +++ b/prefs.js @@ -414,7 +414,12 @@ var PreferencesDialog = class PreferencesDialog { dialog.close(); } }); - dialog.show(); + + if (utils.isGTK4()) { + dialog.show(); + } else { + dialog.show_all(); + } } }