changeset 2617:2f8c8da3e62e

make play and sotp buttons working
author Tomasz Mon <desowin@gmail.com>
date Wed, 21 May 2008 16:52:23 +0200
parents f0d57c48e518
children ca6873c5a778
files src/skins/ui_main.c
diffstat 1 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/skins/ui_main.c	Wed May 21 17:27:26 2008 +0300
+++ b/src/skins/ui_main.c	Wed May 21 16:52:23 2008 +0200
@@ -1396,24 +1396,19 @@
         audacious_drct_pause();
         return;
     }
-#if 0
-    if (playlist_get_length(aud_playlist_get_active()))
-        playback_initiate();
+
+    if (aud_playlist_get_length(aud_playlist_get_active()))
+        audacious_drct_initiate();
     else
         mainwin_eject_pushed();
-#endif
 }
 
 void
 mainwin_stop_pushed(void)
 {
-#if 0
-    ip_data.stop = TRUE;
     audacious_drct_stop();
     mainwin_clear_song_info();
     ab_position_a = ab_position_b = -1;
-    ip_data.stop = FALSE;
-#endif
 }
 
 void