gnome-bluetooth r481 - trunk/common



Author: hadess
Date: Fri Mar 13 14:47:44 2009
New Revision: 481
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=481&view=rev

Log:
Remove trusted icon

It's an implementation detail.



Modified:
   trunk/common/helper.c

Modified: trunk/common/helper.c
==============================================================================
--- trunk/common/helper.c	(original)
+++ trunk/common/helper.c	Fri Mar 13 14:47:44 2009
@@ -44,19 +44,6 @@
 	g_object_set(cell, "visible", connected, NULL);
 }
 
-static void trusted_to_icon(GtkTreeViewColumn *column, GtkCellRenderer *cell,
-			GtkTreeModel *model, GtkTreeIter *iter, gpointer data)
-{
-	gboolean trusted;
-
-	gtk_tree_model_get(model, iter, BLUETOOTH_COLUMN_TRUSTED, &trusted, -1);
-
-	if (trusted == TRUE)
-		g_object_set(cell, "icon-name", GTK_STOCK_ABOUT, NULL);
-
-	g_object_set(cell, "visible", trusted, NULL);
-}
-
 static void paired_to_icon(GtkTreeViewColumn *column, GtkCellRenderer *cell,
 			GtkTreeModel *model, GtkTreeIter *iter, gpointer data)
 {
@@ -106,10 +93,6 @@
 				"Connected", gtk_cell_renderer_pixbuf_new(),
 					connected_to_icon, NULL, NULL);
 
-	gtk_tree_view_insert_column_with_data_func(GTK_TREE_VIEW(tree), -1,
-				"Trusted", gtk_cell_renderer_pixbuf_new(),
-					trusted_to_icon, NULL, NULL);
-
 	column = gtk_tree_view_column_new();
 	gtk_tree_view_column_set_visible(column, FALSE);
 	gtk_tree_view_insert_column_with_data_func(GTK_TREE_VIEW(tree), -1,



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