changeset 4585:78e21c07ba6a

branch merge
author Tomasz Mon <desowin@gmail.com>
date Thu, 22 May 2008 19:30:02 +0200
parents 41400d8a5dc9 (diff) 77f57ba8d7a4 (current diff)
children 5fa09aa0b14a
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	Thu May 22 07:10:10 2008 +0300
+++ b/src/audacious/ui_main_evlisteners.c	Thu May 22 19:30:02 2008 +0200
@@ -94,6 +94,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;
@@ -284,6 +290,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);