[gnome-bluetooth] Select the device again once paired



commit 9e1b69d1ec903997d46137895bf6fda8138d8b6b
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Nov 23 16:32:44 2009 +0000

    Select the device again once paired
    
    As it might not be selected any more if we had to destroy
    its pairing.

 wizard/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index f6fc58d..9bcfc33 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -582,6 +582,9 @@ void prepare_callback (GtkWidget *assistant,
 		GValue value = { 0, };
 		char **uuids, *text;
 
+		/* FIXME remove this code when bluetoothd has pair/unpair code */
+		g_object_set (G_OBJECT (selector), "device-selected", target_address, NULL);
+
 		bluetooth_chooser_get_selected_device_info (selector, "name", &value);
 		text = g_strdup_printf (_("Successfully set up new device '%s'"), g_value_get_string (&value));
 		g_value_unset (&value);



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