changeset 2281:6ca0d83ce51d

Hotkey: Changed "Play/Pause" to "Play" and "Pause" to "Pause/Resume" since they were doing the same thing
author Sascha Hlusiak <contact@saschahlusiak.de>
date Thu, 03 Jan 2008 15:46:23 +0100
parents d9706e29e968
children cd57c9fe416e
files src/hotkey/plugin.c
diffstat 1 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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:"),