gnome-bluetooth r488 - trunk/wizard



Author: hadess
Date: Wed Mar 18 13:42:20 2009
New Revision: 488
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=488&view=rev

Log:
Mark all the newly paired devices as trusted

Doesn't hurt. (Helps: #575292)



Modified:
   trunk/wizard/main.c

Modified: trunk/wizard/main.c
==============================================================================
--- trunk/wizard/main.c	(original)
+++ trunk/wizard/main.c	Wed Mar 18 13:42:20 2009
@@ -302,9 +302,10 @@
 		if (page > 0)
 			gtk_assistant_set_current_page(assistant, page + 1);
 
+		bluetooth_client_set_trusted(client, path, TRUE);
+
 		if (target_type == BLUETOOTH_TYPE_KEYBOARD ||
 					target_type == BLUETOOTH_TYPE_MOUSE) {
-			bluetooth_client_set_trusted(client, path, TRUE);
 			bluetooth_client_connect_input(client, path,
 						connect_callback, assistant);
 		}



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