projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6c1bb
)
changed: have the VideoOSD close if the SHOW_OSD action is sent
author
spiff
<spiff@xbmc.org>
Tue, 15 Nov 2011 14:52:17 +0000
(15:52 +0100)
committer
spiff
<spiff@xbmc.org>
Tue, 15 Nov 2011 14:52:17 +0000
(15:52 +0100)
this makes the action a toggle, which is useful with e.g. the
eventserver. closes #12213, thanks to maphix
xbmc/video/dialogs/GUIDialogVideoOSD.cpp
patch
|
blob
|
history
diff --git
a/xbmc/video/dialogs/GUIDialogVideoOSD.cpp
b/xbmc/video/dialogs/GUIDialogVideoOSD.cpp
index
e3363ef
..
402fbb9
100644
(file)
--- a/
xbmc/video/dialogs/GUIDialogVideoOSD.cpp
+++ b/
xbmc/video/dialogs/GUIDialogVideoOSD.cpp
@@
-56,6
+56,11
@@
bool CGUIDialogVideoOSD::OnAction(const CAction &action)
if (g_application.m_pPlayer != NULL && g_application.m_pPlayer->OnAction(action))
return true;
}
+ if (action.GetID() == ACTION_SHOW_OSD)
+ {
+ Close();
+ return true;
+ }
return CGUIDialog::OnAction(action);
}