Mercurial > pidgin
diff finch/gntui.c @ 19100:68a3b83795c6
Added sound to Finch.
Currently it's directly into Finch, but later we'll most likely move it into a plugin since some have argued well that sound in a console app might not be an all around favored thing.
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Thu, 14 Jun 2007 03:54:49 +0000 |
parents | 66dff3dfdea6 |
children | 1cb69ea47a6e |
line wrap: on
line diff
--- a/finch/gntui.c Tue Jun 12 22:01:24 2007 +0000 +++ b/finch/gntui.c Thu Jun 14 03:54:49 2007 +0000 @@ -33,6 +33,7 @@ #include "gntprefs.h" #include "gntrequest.h" #include "gntstatus.h" +#include "gntsound.h" #include "internal.h" #include <prefs.h> @@ -57,6 +58,9 @@ finch_blist_init(); purple_blist_set_ui_ops(finch_blist_get_ui_ops()); + /* Initialize sound */ + purple_sound_set_ui_ops(finch_sound_get_ui_ops()); + /* Now the conversations */ finch_conversation_init(); purple_conversations_set_ui_ops(finch_conv_get_ui_ops());