# HG changeset patch # User Sascha Hlusiak # Date 1199371583 -3600 # Node ID 6ca0d83ce51d681e1ca2b85fcab2ddc8ed6f2c1d # Parent d9706e29e968dcc5412388a51bdd30179849f6c8 Hotkey: Changed "Play/Pause" to "Play" and "Pause" to "Pause/Resume" since they were doing the same thing diff -r d9706e29e968 -r 6ca0d83ce51d src/hotkey/plugin.c --- a/src/hotkey/plugin.c Mon Dec 31 19:45:28 2007 +0100 +++ b/src/hotkey/plugin.c Thu Jan 03 15:46:23 2008 +0100 @@ -298,12 +298,7 @@ /* play */ if ((keycode == plugin_cfg.play.key) && (state == plugin_cfg.play.mask) && (type == plugin_cfg.play.type)) { - if (!play) - { - audacious_drct_play (); - } else { - audacious_drct_pause (); - } + audacious_drct_play (); return TRUE; } @@ -939,10 +934,10 @@ add_event_controls(table, &controls->prev_track, 0, _("Previous Track:"), plugin_cfg.prev_track); - add_event_controls(table, &controls->play, 1, _("Play/Pause:"), + add_event_controls(table, &controls->play, 1, _("Play:"), plugin_cfg.play); - add_event_controls(table, &controls->pause, 2, _("Pause:"), + add_event_controls(table, &controls->pause, 2, _("Pause/Resume:"), plugin_cfg.pause); add_event_controls(table, &controls->stop, 3, _("Stop:"),