diff options
Diffstat (limited to 'src/ui_dispatch.h')
-rw-r--r-- | src/ui_dispatch.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/ui_dispatch.h b/src/ui_dispatch.h index 9d87659..6b96ae3 100644 --- a/src/ui_dispatch.h +++ b/src/ui_dispatch.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2010-2012 +Copyright (c) 2010-2013 Lars-Dominik Braun <lars@6xq.net> Permission is hereby granted, free of charge, to any person obtaining a copy @@ -71,8 +71,8 @@ static const BarUiDispatchAction_t dispatchActions[BAR_KS_COUNT] = { "act_addshared"}, {'n', BAR_DC_GLOBAL | BAR_DC_STATION, BarUiActSkipSong, "next song", "act_songnext"}, - {'p', BAR_DC_GLOBAL | BAR_DC_STATION, BarUiActPause, "pause/continue", - "act_songpause"}, + {'p', BAR_DC_GLOBAL | BAR_DC_STATION, BarUiActTogglePause, "pause/resume playback", + "act_songpausetoggle"}, {'q', BAR_DC_GLOBAL, BarUiActQuit, "quit", "act_quit"}, {'r', BAR_DC_STATION, BarUiActRenameStation, "rename station", "act_stationrename"}, @@ -93,10 +93,14 @@ static const BarUiDispatchAction_t dispatchActions[BAR_KS_COUNT] = { "act_volup"}, {'=', BAR_DC_STATION, BarUiActManageStation, "delete seeds/feedback", "act_managestation"}, - {' ', BAR_DC_GLOBAL | BAR_DC_STATION, BarUiActPause, NULL, - "act_songpause2"}, + {' ', BAR_DC_GLOBAL | BAR_DC_STATION, BarUiActTogglePause, NULL, + "act_songpausetoggle2"}, {'v', BAR_DC_SONG, BarUiActCreateStationFromSong, "create new station from song or artist", "act_stationcreatefromsong"}, + {'P', BAR_DC_GLOBAL | BAR_DC_STATION, BarUiActPlay, "resume playback", + "act_songplay"}, + {'S', BAR_DC_GLOBAL | BAR_DC_STATION, BarUiActPause, "pause playback", + "act_songpause"}, }; #include <piano.h> |