From 6eb5469472a9c2526b55d7a394b12167a84bdd64 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 12 Dec 2023 20:54:05 +0700 Subject: [PATCH] MS Windows dialogs prevent access to about window --- xpra/gtk/configure/encodings.py | 2 +- xpra/gtk/configure/features.py | 4 ++-- xpra/gtk/configure/main.py | 2 +- xpra/gtk/configure/opengl.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/xpra/gtk/configure/encodings.py b/xpra/gtk/configure/encodings.py index 55b3371a1a..da1e9fe509 100644 --- a/xpra/gtk/configure/encodings.py +++ b/xpra/gtk/configure/encodings.py @@ -38,7 +38,7 @@ def __init__(self, parent: Gtk.Window | None = None): "encoding.png", wm_class=("xpra-configure-encodings-gui", "Xpra Configure Encodings GUI"), default_size=(640, 500), - header_bar=(True, False), + header_bar=(False, False), parent=parent, ) diff --git a/xpra/gtk/configure/features.py b/xpra/gtk/configure/features.py index 326b7959c5..b0d7549d0d 100644 --- a/xpra/gtk/configure/features.py +++ b/xpra/gtk/configure/features.py @@ -25,7 +25,7 @@ def __init__(self, parent: Gtk.Window | None = None): "features.png", wm_class=("xpra-configure-features-gui", "Xpra Configure Features GUI"), default_size=(640, 500), - header_bar=(True, False), + header_bar=(False, False), parent=parent, ) @@ -88,7 +88,7 @@ def configure_switches(self, defaults): return False @staticmethod - def toggle_subsystem(widget, state, subsystem): + def toggle_subsystem(_widget, state, subsystem): update_config_attribute(subsystem, state) diff --git a/xpra/gtk/configure/main.py b/xpra/gtk/configure/main.py index be18fe17a9..1c76e7c592 100644 --- a/xpra/gtk/configure/main.py +++ b/xpra/gtk/configure/main.py @@ -27,7 +27,7 @@ def __init__(self): "toolbox.png", wm_class=("xpra-configure-gui", "Xpra Configure GUI"), default_size=(480, 300), - header_bar=(True, False), + header_bar=(False, False), ) self.dialogs : dict[str, BaseGUIWindow] = {} diff --git a/xpra/gtk/configure/opengl.py b/xpra/gtk/configure/opengl.py index 32974b0ff5..58887c9138 100644 --- a/xpra/gtk/configure/opengl.py +++ b/xpra/gtk/configure/opengl.py @@ -151,7 +151,7 @@ def __init__(self, parent: Gtk.Window | None = None): "Configure Xpra's OpenGL Renderer", "opengl.png", wm_class=("xpra-configure-opengl-gui", "Xpra Configure OpenGL GUI"), - header_bar=None, + header_bar=(False, False), parent=parent, )