Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Options for selecting which columns are visible in the game list. #435

Merged
merged 1 commit into from Jun 5, 2014

Conversation

YourGamesBeOver
Copy link
Contributor

Also added optional extra column, game ID, disabled by default. also added a config entry to disable coloring compressed games in blue ("ColorCompressed"). I am resubmitting this because I changed a lot of stuff from the last pull request.
dolphinidcol
dolphinidcol2

columnsMenu->Check(IDM_SHOW_ID, SConfig::GetInstance().m_showID);
columnsMenu->AppendCheckItem(IDM_SHOW_REGION, _("Region"));
columnsMenu->Check(IDM_SHOW_REGION, SConfig::GetInstance().m_showRegion);
columnsMenu->AppendCheckItem(IDM_SHOW_SIZE, _("Filesize"));

This comment was marked as off-topic.

@delroth
Copy link
Member

delroth commented May 29, 2014

@dolphin-emu-bot rebuild

@@ -72,6 +72,16 @@ struct SConfig : NonCopyable
int m_ListSort;
int m_ListSort2;

bool m_showSystem;

This comment was marked as off-topic.

@YourGamesBeOver
Copy link
Contributor Author

alright, I think I've fixed everything you've pointed out

SetColumnWidth(COLUMN_ID, SConfig::GetInstance().m_showIDColumn ? 75 + platform_padding : 0);
SetColumnWidth(COLUMN_COUNTRY, SConfig::GetInstance().m_showRegionColumn ? 32 + platform_padding : 0);
SetColumnWidth(COLUMN_EMULATION_STATE, SConfig::GetInstance().m_showStateColumn ? 50 + platform_padding : 0);
SetColumnWidth(COLUMN_EMULATION_STATE, 0);

This comment was marked as off-topic.

This comment was marked as off-topic.

@YourGamesBeOver
Copy link
Contributor Author

and now everything is working too :D

@lioncash
Copy link
Member

Is it possible that you can squash the formatting change commits into each other? If that's more trouble at this point than it's worth (never had to squash range commits so I don't know) then I guess it's OK as is.

@delroth
Copy link
Member

delroth commented May 29, 2014

Shouldn't be difficult: git rebase -i origin/master and just use "f" to squash.

@YourGamesBeOver
Copy link
Contributor Author

I've been trying, but I can't seem to get the rebase to work.

@YourGamesBeOver
Copy link
Contributor Author

yeah... its not working :( sorry

bool m_showSizeColumn;
bool m_showStateColumn;

// Toggles wether compressed titles show up in blue in the game list

This comment was marked as off-topic.

@neobrain
Copy link
Member

GUI looks okay to me.

@YourGamesBeOver
Copy link
Contributor Author

Is there any more that needs to be done that I missed?

@Linktothepast
Copy link
Contributor

If wx will be dropped eventually the sooner this pr gets merged the better.

@YourGamesBeOver
Copy link
Contributor Author

Agreed

On Jun 2, 2014, at 10:30 PM, Linktothepast notifications@github.com wrote:

If wx will be dropped eventually the sooner this pr gets merged the better.


Reply to this email directly or view it on GitHub.

@neobrain
Copy link
Member

neobrain commented Jun 4, 2014

Again, please try to squash your changes together. As far as I can see, there really is only one logical change in this branch - hence there's no need to have 11 commits for that.

git fetch origin && git rebase -i origin/master and mark all commits but the first one as "fixup". That should work.

@YourGamesBeOver
Copy link
Contributor Author

I'm not sure how well that worked. stupid git extensions making things more complicated...

@neobrain
Copy link
Member

neobrain commented Jun 4, 2014

It didn't work at all. The pull request should have one commit instead of 11, but you actually just added two new ones. I can't really help you with git extensions unfortunately, but I'd really like to have this resolved. Fwiw, I suggest you create a backup branch if you're unsure whether what you're doing works (if you don't know how to do that, just copying the whole dolphin directory including hidden .git files will be sufficient).

@YourGamesBeOver
Copy link
Contributor Author

I did it!

@YourGamesBeOver
Copy link
Contributor Author

I made a backup, and then moved the remote branch back to the commit before I started. then I copied the backup back over, committed and pushed. magic. You'd think I'd be better at using git seeing as I use it every day here at work :P

Either way, the PR should be good to go now!

@neobrain
Copy link
Member

neobrain commented Jun 4, 2014

@dolphin-emu-bot rebuild

@YourGamesBeOver
Copy link
Contributor Author

I am confused by that build failure, could you explain it?

@delroth
Copy link
Member

delroth commented Jun 5, 2014

The line it indicates has trailing whitespaces, aka. useless whitespace
characters at the end of a line. Fix it, squash the fix into your commit,
and ping us when it's done.

On Thu, Jun 5, 2014 at 9:24 PM, Steven notifications@github.com wrote:

I am confused by that build failure, could you explain it?


Reply to this email directly or view it on GitHub
#435 (comment).

Pierre "delroth" Bourdon delroth@gmail.com
Software Engineer @ Zürich, Switzerland
http://code.delroth.net/

…t, added optional game id column, and added config entry to disable making compressed games blue
@YourGamesBeOver
Copy link
Contributor Author

All fixed

@delroth
Copy link
Member

delroth commented Jun 5, 2014

@dolphin-emu-bot rebuild

delroth added a commit that referenced this pull request Jun 5, 2014
Options for selecting which columns are visible in the game list.
@delroth delroth merged commit b780ef9 into dolphin-emu:master Jun 5, 2014
@delroth
Copy link
Member

delroth commented Jun 5, 2014

Thanks for putting up with our nitpicking :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants