[vlc-commits] commit: Undefine unimplemented history actions ( =?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)
git at videolan.org
git at videolan.org
Sun Dec 5 04:44:43 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 5 05:23:45 2010 +0200| [10289bdecce4a6a889ca9ead47dbb13a0b8a13fb] | committer: Rémi Denis-Courmont
Undefine unimplemented history actions
VLC maintains no history, so no wonder...
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10289bdecce4a6a889ca9ead47dbb13a0b8a13fb
---
include/vlc_keys.h | 2 --
src/libvlc-module.c | 15 ---------------
2 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/include/vlc_keys.h b/include/vlc_keys.h
index 2787a9a..6771693 100644
--- a/include/vlc_keys.h
+++ b/include/vlc_keys.h
@@ -145,8 +145,6 @@ typedef enum vlc_key {
ACTIONID_SUBDELAY_DOWN,
ACTIONID_SUBPOS_UP,
ACTIONID_SUBPOS_DOWN,
- ACTIONID_HISTORY_BACK,
- ACTIONID_HISTORY_FORWARD,
ACTIONID_AUDIO_TRACK,
ACTIONID_SUBTITLE_TRACK,
ACTIONID_INTF_SHOW,
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 7534890..f3405a7 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1450,11 +1450,6 @@ static const char *const ppsz_albumart_descriptions[] =
#define BOOKMARK_LONGTEXT N_( \
"This allows you to define playlist bookmarks.")
-#define HISTORY_BACK_TEXT N_("Go back in browsing history")
-#define HISTORY_BACK_LONGTEXT N_("Select the key to go back (to the previous media item) in the browsing history.")
-#define HISTORY_FORWARD_TEXT N_("Go forward in browsing history")
-#define HISTORY_FORWARD_LONGTEXT N_("Select the key to go forward (to the next media item) in the browsing history.")
-
#define AUDIO_TRACK_KEY_TEXT N_("Cycle audio track")
#define AUDIO_TRACK_KEY_LONGTEXT N_("Cycle through the available audio tracks(languages).")
#define SUBTITLE_TRACK_KEY_TEXT N_("Cycle subtitle track")
@@ -2364,8 +2359,6 @@ vlc_module_begin ()
# define KEY_PLAY_BOOKMARK8 KEY_F8
# define KEY_PLAY_BOOKMARK9 KEY_UNSET
# define KEY_PLAY_BOOKMARK10 KEY_UNSET
-# define KEY_HISTORY_BACK KEY_MODIFIER_COMMAND|'['
-# define KEY_HISTORY_FORWARD KEY_MODIFIER_COMMAND|']'
# define KEY_RECORD KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|'r'
# define KEY_DUMP KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|'d'
# define KEY_WALLPAPER KEY_MODIFIER_COMMAND|'w'
@@ -2450,8 +2443,6 @@ vlc_module_begin ()
# define KEY_AUDIODEVICE_CYCLE KEY_MODIFIER_SHIFT|'a'
-# define KEY_HISTORY_BACK KEY_MODIFIER_SHIFT|'g'
-# define KEY_HISTORY_FORWARD KEY_MODIFIER_SHIFT|'h'
# define KEY_RECORD KEY_MODIFIER_SHIFT|'r'
# define KEY_DUMP KEY_MODIFIER_SHIFT|'d'
# define KEY_WALLPAPER 'w'
@@ -2616,10 +2607,6 @@ vlc_module_begin ()
INTF_HIDE_KEY_TEXT, INTF_HIDE_KEY_LONGTEXT, true )
add_key( "key-snapshot", KEY_SNAPSHOT,
SNAP_KEY_TEXT, SNAP_KEY_LONGTEXT, true )
- add_key( "key-history-back", KEY_HISTORY_BACK, HISTORY_BACK_TEXT,
- HISTORY_BACK_LONGTEXT, true )
- add_key( "key-history-forward", KEY_HISTORY_FORWARD,
- HISTORY_FORWARD_TEXT, HISTORY_FORWARD_LONGTEXT, true )
add_key( "key-record", KEY_RECORD,
RECORD_KEY_TEXT, RECORD_KEY_LONGTEXT, true )
add_key( "key-dump", KEY_DUMP,
@@ -2851,8 +2838,6 @@ const struct action libvlc_actions[] =
{ "key-dump", ACTIONID_DUMP, },
{ "key-faster", ACTIONID_FASTER, },
{ "key-frame-next", ACTIONID_FRAME_NEXT, },
- { "key-history-back", ACTIONID_HISTORY_BACK, },
- { "key-history-forward", ACTIONID_HISTORY_FORWARD, },
{ "key-incr-scalefactor", ACTIONID_SCALE_UP, },
{ "key-intf-hide", ACTIONID_INTF_HIDE, },
{ "key-intf-show", ACTIONID_INTF_SHOW, },
More information about the vlc-commits
mailing list