GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
First commit fixes context menu dialogs with conditional includes not showing context buttons (as Initialize didn't realize that include conditions are changed and report window as ready, when it's not and it will be loaded later when we show window - that is after we setup context buttons) - Here's forum topic about it http://forum.xbmc.org/showthread.php?tid=142506&pid=1211421#pid1211421
Second commit makes sure we return proper value if called not from app thread.
Looks OK. I note that the second doesn't deadlock as the graphics context is released in CAppMessenger::SendMessage.
add helper method to check if window need to reload and use it in CGU…
use CGUIWindow::AllocResources() to handle potentional window unload (if include conditions would change)
CGUIWindow::Initiliaze() called offthread use application messenger t…
…o initialize window, wait for it to handle load message and return m_windowLoaded (don't assume window load was succesfull)
Merge pull request #1608 from pieh/xp_context_menu