gnome-bluetooth r527 - trunk/common



Author: hadess
Date: Mon Mar 23 15:36:00 2009
New Revision: 527
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=527&view=rev

Log:
When UUIDs are updated, update the services column


Modified:
   trunk/common/bluetooth-client.c

Modified: trunk/common/bluetooth-client.c
==============================================================================
--- trunk/common/bluetooth-client.c	(original)
+++ trunk/common/bluetooth-client.c	Mon Mar 23 15:36:00 2009
@@ -430,6 +430,12 @@
 
 		gtk_tree_store_set(priv->store, &iter,
 				BLUETOOTH_COLUMN_CONNECTED, connected, -1);
+	} else if (g_str_equal (property, "UUIDs") == TRUE) {
+		GHashTable *services;
+
+		services = device_list_nodes (device, client, TRUE);
+		gtk_tree_store_set(priv->store, &iter,
+				   BLUETOOTH_COLUMN_SERVICES, services, -1);
 	}
 }
 



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