gnome-bluetooth r503 - trunk/wizard



Author: hadess
Date: Thu Mar 19 18:02:35 2009
New Revision: 503
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=503&view=rev

Log:
When pairing an audio device, connect to it

So it can be used straight away.



Modified:
   trunk/wizard/main.c

Modified: trunk/wizard/main.c
==============================================================================
--- trunk/wizard/main.c	(original)
+++ trunk/wizard/main.c	Thu Mar 19 18:02:35 2009
@@ -308,6 +308,11 @@
 					target_type == BLUETOOTH_TYPE_MOUSE) {
 			bluetooth_client_connect_input(client, path,
 						connect_callback, assistant);
+		} else if (target_type == BLUETOOTH_TYPE_HEADSET ||
+					target_type == BLUETOOTH_TYPE_HEADPHONES ||
+					target_type == BLUETOOTH_TYPE_OTHER_AUDIO) {
+			bluetooth_client_connect_audio(client, path,
+						connect_callback, assistant);
 		}
 
 		complete = TRUE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]