[vlc-commits] commit: skins2: add a way to hide Video/Audio/Misc popupmenus (Erwan Tulou )
git at videolan.org
git at videolan.org
Wed Apr 7 18:53:53 CEST 2010
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Wed Apr 7 18:37:43 2010 +0200| [2a68b1d53d86ee50c8f2b06009519e0345d998f2] | committer: Erwan Tulou
skins2: add a way to hide Video/Audio/Misc popupmenus
when one of these three popupmenus is shown, there was no way to hide it
without first executing an item in the menu. (see for instance, earthox skin)
This patch ensures that the usual way to hide the default PopupMenu is also
used to hide any one of these other three popupmenus.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a68b1d53d86ee50c8f2b06009519e0345d998f2
---
modules/gui/skins2/controls/ctrl_image.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/gui/skins2/controls/ctrl_image.cpp b/modules/gui/skins2/controls/ctrl_image.cpp
index f705cbe..66ad592 100644
--- a/modules/gui/skins2/controls/ctrl_image.cpp
+++ b/modules/gui/skins2/controls/ctrl_image.cpp
@@ -60,6 +60,9 @@ void CtrlImage::handleEvent( EvtGeneric &rEvent )
else if( rEvent.getAsString() == "mouse:left:up:none" )
{
CmdDlgHidePopupMenu( getIntf() ).execute();
+ CmdDlgHideVideoPopupMenu( getIntf() ).execute();
+ CmdDlgHideAudioPopupMenu( getIntf() ).execute();
+ CmdDlgHideMiscPopupMenu( getIntf() ).execute();
}
else if( rEvent.getAsString() == "mouse:left:dblclick:none" )
{
More information about the vlc-commits
mailing list