GitHub PullRequestReviewCommentEvent at 2014-05-29 23:38:19
Repository: dolphin
Actor: YourGamesBeOver
Payload: {"comment":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/comments/13210851","id":13210851,"diff_hunk":"@@ -329,18 +332,20 @@ void CGameListCtrl::Update()\n \n \t\t// set initial sizes for columns\n \t\tSetColumnWidth(COLUMN_DUMMY,0);\n-\t\tSetColumnWidth(COLUMN_PLATFORM, 35 + platform_padding);\n-\t\tSetColumnWidth(COLUMN_BANNER, 96 + platform_padding);\n-\t\tSetColumnWidth(COLUMN_TITLE, 200 + platform_padding);\n-\t\tSetColumnWidth(COLUMN_NOTES, 200 + platform_padding);\n-\t\tSetColumnWidth(COLUMN_COUNTRY, 32 + platform_padding);\n-\t\tSetColumnWidth(COLUMN_EMULATION_STATE, 50 + platform_padding);\n+\t\tSetColumnWidth(COLUMN_PLATFORM, SConfig::GetInstance().m_showSystemColumn ? 35 + platform_padding : 0);\n+\t\tSetColumnWidth(COLUMN_BANNER, SConfig::GetInstance().m_showBannerColumn ? 96 + platform_padding : 0);\n+\t\tSetColumnWidth(COLUMN_TITLE, 175 + platform_padding);\n+\t\tSetColumnWidth(COLUMN_NOTES, SConfig::GetInstance().m_showNotesColumn ? 150 + platform_padding : 0);\n+\t\tSetColumnWidth(COLUMN_ID, SConfig::GetInstance().m_showIDColumn ? 75 + platform_padding : 0);\n+\t\tSetColumnWidth(COLUMN_COUNTRY, SConfig::GetInstance().m_showRegionColumn ? 32 + platform_padding : 0);\n+\t\tSetColumnWidth(COLUMN_EMULATION_STATE, SConfig::GetInstance().m_showStateColumn ? 50 + platform_padding : 0);\n+\t\tSetColumnWidth(COLUMN_EMULATION_STATE, 0);","path":"Source/Core/DolphinWX/GameListCtrl.cpp","position":34,"original_position":34,"commit_id":"be369264ac60342b4edeedc72999e5ec8c80fb06","original_commit_id":"be369264ac60342b4edeedc72999e5ec8c80fb06","user":{"login":"YourGamesBeOver","id":3501739,"avatar_url":"https://avatars.githubusercontent.com/u/3501739?","gravatar_id":"adf38a804f9c1ff794c6355e0f4be23a","url":"https://api.github.com/users/YourGamesBeOver","html_url":"https://github.com/YourGamesBeOver","followers_url":"https://api.github.com/users/YourGamesBeOver/followers","following_url":"https://api.github.com/users/YourGamesBeOver/following{/other_user}","gists_url":"https://api.github.com/users/YourGamesBeOver/gists{/gist_id}","starred_url":"https://api.github.com/users/YourGamesBeOver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YourGamesBeOver/subscriptions","organizations_url":"https://api.github.com/users/YourGamesBeOver/orgs","repos_url":"https://api.github.com/users/YourGamesBeOver/repos","events_url":"https://api.github.com/users/YourGamesBeOver/events{/privacy}","received_events_url":"https://api.github.com/users/YourGamesBeOver/received_events","type":"User","site_admin":false},"body":"@delroth Honestly, I can't think of a cleaner way to do it","created_at":"2014-05-29T23:38:19Z","updated_at":"2014-05-29T23:38:19Z","html_url":"https://github.com/dolphin-emu/dolphin/pull/435#discussion_r13210851","pull_request_url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/435","_links":{"self":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/comments/13210851"},"html":{"href":"https://github.com/dolphin-emu/dolphin/pull/435#discussion_r13210851"},"pull_request":{"href":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/435"}}}}