Skip to content

Commit 9119a71

Browse files
authored
Merge pull request #153 from Black4Blade/Fix#150
New logout placement
2 parents 6e829d0 + b8941ae commit 9119a71

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

resource/layout/accountmenu.layout

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
view_account_button { controlname="Button" style="account_menu_button" labelText="#steam_menu_account_details" }
77
view_wallet_button { controlname="Button" style="account_menu_button" labelText="#steam_menu_account_wallet" }
88
view_preferences_button { controlname="Button" style="account_menu_button" labelText="#steam_menu_account_preferences" }
9-
change_user_button { controlname="Button" style="account_menu_button" labelText="#steam_menu_account_logout" }
9+
change_user_button { controlname="Button" style="account_menu_button" labelText="#steam_menu_changeuser" }
10+
sign_out_button { controlname="Button" style="account_menu_button" labelText="#steam_menu_account_logout" }
1011
account_name_label { controlname="Label" style="account_menu_label" labelText="%account%" }
1112
wallet_amount_label { controlname="Label" style="account_menu_label" labelText="%wallet%" }
1213
}
@@ -57,8 +58,9 @@
5758
place { control="view_profile_button" align=left margin-left=4 margin-top=4 height=24 }
5859
place { control="view_account_button" align=left margin-left=4 margin-top=28 height=24 }
5960
place { control="change_user_button" align=left margin-left=4 margin-top=52 height=24 }
60-
place { control="account_name_label" start="change_user_button" dir="right" height=24 margin-left=-4 }
61-
place { control="view_preferences_button" align=left margin-left=4 margin-top=76 height=24 }
62-
place { control="view_wallet_button,wallet_amount_label" align=left margin-left=4 margin-top=100 height=24 }
61+
place { control="sign_out_button" align=left margin-left=4 margin-top=76 height=24 }
62+
place { control="account_name_label" start="sign_out_button" dir="right" height=24 margin-left=-4 }
63+
place { control="view_preferences_button" align=left margin-left=4 margin-top=100 height=24 }
64+
place { control="view_wallet_button,wallet_amount_label" align=left margin-left=4 margin-top=124 height=24 }
6365
}
6466
}

resource/menus/steam.menu

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
text = [$OSX] "#SteamRootAccount"
77

88
ChangeUser { text="#steam_menu_changeuser" command="ChangeUser" }
9+
SignOut { text="#steam_menu_signout" command="SignOut" }
910
GoOnline { text="#SteamUI_OfflineMode_GoOnline" command="goonline" }
1011
GoOffline { text="#SteamUI_OfflineMode_GoOffline" command="gooffline" }
1112

@@ -35,7 +36,7 @@
3536
MiniMode [!$OSX] { text="#steam_menu_minimode" shellcmd="steam://open/minigameslist" }
3637
LargeMode [!$OSX] { text="#steam_menu_largemode" shellcmd="steam://open/largegameslist" }
3738
StartVR { text="#steam_menu_startvr" shellcmd="steam://run/250820" }
38-
BigPictureMode { text="#steam_menu_bigpicturemode" shellcmd="steam://open/bigpicture" }
39+
BigPictureMode [!$OSX] { text="#steam_menu_bigpicturemode" shellcmd="steam://open/bigpicture" }
3940
Divider {}
4041
MusicDetails { text="#steam_menu_view_music_details" shellcmd="steam://nav/music/details" }
4142
MusicPlayer { text="#steam_menu_view_musicplayer" shellcmd="steam://open/musicplayer" }
@@ -113,6 +114,8 @@
113114
Divider {}
114115
MiniMode { text="#steam_menu_minimode" shellcmd="steam://open/minigameslist" }
115116
LargeMode { text="#steam_menu_largemode" shellcmd="steam://open/largegameslist" }
117+
BigPictureMode { text="#steam_menu_bigpicturemode" shellcmd="steam://open/bigpicture" }
118+
CloseBigPictureMode { text="#steam_menu_close_bigpicturemode" shellcmd="steam://close/bigpicture" }
116119
}
117120

118121
Help {

0 commit comments

Comments
 (0)