From 65f7803dd86bdb99814cbabda7dfb9e9116d86f1 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 6 Jan 2009 16:48:49 +0000 Subject: Turn empathy_sound_pref_is_enabled into empathy_sound_play that automatically plays the sound if the pref is enabled. svn path=/trunk/; revision=2078 --- python/pyempathygtk/pyempathygtk.defs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'python') diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index 90bfa0c2f..3c83a28ec 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -1732,11 +1732,14 @@ ) ) -(define-function sound_pref_is_enabled - (c-name "empathy_sound_pref_is_enabled") - (return-type "gboolean") +(define-function sound_play + (c-name "empathy_sound_play") + (return-type "none") (parameters + '("GtkWidget*" "widget") '("const-char*" "key") + '("const-char*" "event_id") + '("const-char*" "description") ) ) -- cgit v1.2.3