Skip to content

Commit

Permalink
Window: Remove Auto from Window Controls
Browse files Browse the repository at this point in the history
Not really that useful for an installer that supports one platform
  • Loading branch information
Foldex committed Nov 10, 2024
1 parent d5b76f4 commit 91f5ca1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions data/io.github.Foldex.AdwSteamGtk.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@

<!-- Window Controls -->
<key name="window-controls-options" type="s">
<default>"Auto"</default>
<default>"Adwaita"</default>
<choices>
<choice value="Auto"/>
<choice value="Adwaita"/>
<choice value="Windows"/>
<choice value="MacOS"/>
Expand Down
2 changes: 1 addition & 1 deletion src/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_options(option_string):

"rounded_corners": (True, False),

"win_controls": ("Auto", "Adwaita", "MacOS", "Windows"),
"win_controls": ("Adwaita", "MacOS", "Windows"),
"win_controls_layout": ("Auto", "Adwaita", "Elementary", "MacOS", "Windows"),

"library_sidebar": ("Show", "Hover Only"),
Expand Down
2 changes: 1 addition & 1 deletion src/pages/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(self, **kwargs):
self.opt_array = {
"color_theme": ["Adwaita"],

"win_controls": ["Auto", "Adwaita", "MacOS", "Windows"],
"win_controls": ["Adwaita", "MacOS", "Windows"],
"win_controls_layout": ["Auto", "Adwaita", "Elementary", "MacOS", "Windows"],

"library_sidebar": ["Show", "Hover Only"],
Expand Down
2 changes: 1 addition & 1 deletion src/ui/window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ template $AdwaitaSteamGtkWindow : ApplicationWindow {
Adw.ComboRow window_controls_options {
title: _("Window Controls");
tooltip-text: _("Changes Window Control Theme.");
model: StringList { strings [_("Auto"), _("Adwaita"), _("MacOS"), _("Windows")] };
model: StringList { strings [_("Adwaita"), _("MacOS"), _("Windows")] };
}
Adw.ComboRow window_controls_layout_options {
title: _("Controls Style");
Expand Down

0 comments on commit 91f5ca1

Please sign in to comment.