Mercurial > audlegacy-plugins
changeset 2282:cd57c9fe416e
Merge from respository
author | Sascha Hlusiak <contact@saschahlusiak.de> |
---|---|
date | Thu, 03 Jan 2008 15:48:50 +0100 |
parents | 6ca0d83ce51d (diff) cc31a9aed84c (current diff) |
children | 689bdfacb10c d19b53359b24 |
files | |
diffstat | 1 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotkey/plugin.c Tue Jan 01 16:15:21 2008 -0600 +++ b/src/hotkey/plugin.c Thu Jan 03 15:48:50 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:"),