[vlc-devel] [PATCH 1/2] hotkeys: Added OSD messages for toggle repeat playlist action.
Zoran Turalija
zoran.turalija at gmail.com
Tue Apr 23 12:15:09 CEST 2013
Resolves part of ticket #7933
---
modules/control/hotkeys.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 8589f3f..cfec996 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -186,8 +186,13 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
break;
case ACTIONID_RANDOM:
+ {
var_ToggleBool( p_playlist, "random" );
+ DisplayMessage( p_vout, _("Random: %s"),
+ vlc_gettext( var_GetBool( p_playlist, "random" )
+ ? N_("On") : N_("Off") ) );
break;
+ }
case ACTIONID_NEXT:
DisplayMessage( p_vout, _("Next") );
--
1.7.10.4
--
Kind regards,
Zoran Turalija
More information about the vlc-devel
mailing list