comparison src/audacious/ui_main_evlisteners.c @ 3197:5dd8bc77a590 trunk

now "hide seekbar on streaming" uses message passing.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 01 Aug 2007 13:55:02 +0900
parents 8775dfc57ead
children 3cf247e4508c
comparison
equal deleted inserted replaced
3196:be1d387e1f66 3197:5dd8bc77a590
36 ui_skinned_textbox_set_text(mainwin_info, text); 36 ui_skinned_textbox_set_text(mainwin_info, text);
37 37
38 g_free(text); 38 g_free(text);
39 } 39 }
40 40
41 static void
42 ui_main_evlistener_hide_seekbar(gpointer hook_data, gpointer user_data)
43 {
44 mainwin_disable_seekbar();
45 }
46
41 void 47 void
42 ui_main_evlistener_init(void) 48 ui_main_evlistener_init(void)
43 { 49 {
44 hook_associate("title change", ui_main_evlistener_title_change, NULL); 50 hook_associate("title change", ui_main_evlistener_title_change, NULL);
51 hook_associate("hide seekbar", ui_main_evlistener_hide_seekbar, NULL);
45 } 52 }