changeset 4584:41400d8a5dc9

Backed out changeset 25ec507c23bc
author Tomasz Mon <desowin@gmail.com>
date Thu, 22 May 2008 19:29:46 +0200
parents 910ed095b5a9
children 78e21c07ba6a
files src/audacious/ui_main_evlisteners.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_main_evlisteners.c	Wed May 21 17:19:17 2008 +0200
+++ b/src/audacious/ui_main_evlisteners.c	Thu May 22 19:29:46 2008 +0200
@@ -95,6 +95,12 @@
 }
 
 static void
+ui_main_evlistener_playback_initiate(gpointer hook_data, gpointer user_data)
+{
+    playback_initiate();
+}
+
+static void
 ui_main_evlistener_playback_begin(gpointer hook_data, gpointer user_data)
 {
     PlaylistEntry *entry = (PlaylistEntry*)hook_data;
@@ -287,6 +293,7 @@
     hook_associate("title change", ui_main_evlistener_title_change, NULL);
     hook_associate("hide seekbar", ui_main_evlistener_hide_seekbar, NULL);
     hook_associate("volume set", ui_main_evlistener_volume_change, NULL);
+    hook_associate("playback initiate", ui_main_evlistener_playback_initiate, NULL);
     hook_associate("playback begin", ui_main_evlistener_playback_begin, NULL);
     hook_associate("playback stop", ui_main_evlistener_playback_stop, NULL);
     hook_associate("playback pause", ui_main_evlistener_playback_pause, NULL);