Skip to content

Commit

Permalink
MS Windows dialogs prevent access to about window
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Dec 12, 2023
1 parent 5fcb9f8 commit 6eb5469
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion xpra/gtk/configure/encodings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down
4 changes: 2 additions & 2 deletions xpra/gtk/configure/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down Expand Up @@ -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)


Expand Down
2 changes: 1 addition & 1 deletion xpra/gtk/configure/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {}

Expand Down
2 changes: 1 addition & 1 deletion xpra/gtk/configure/opengl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit 6eb5469

Please sign in to comment.