[gnome-bluetooth] properties: No need to change the column title ourselves



commit 7e1e8ee08188087dc63fee965830e5508497afb6
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Oct 18 16:37:26 2011 +0100

    properties: No need to change the column title ourselves

 properties/cc-bluetooth-panel.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/properties/cc-bluetooth-panel.c b/properties/cc-bluetooth-panel.c
index 79711c3..83cde5b 100644
--- a/properties/cc-bluetooth-panel.c
+++ b/properties/cc-bluetooth-panel.c
@@ -718,7 +718,6 @@ cc_bluetooth_panel_init (CcBluetoothPanel *self)
 {
 	GtkWidget *widget;
 	GError *error = NULL;
-	GtkTreeViewColumn *column;
 	GtkStyleContext *context;
 
 	self->priv = BLUETOOTH_PANEL_PRIVATE (self);
@@ -769,15 +768,13 @@ cc_bluetooth_panel_init (CcBluetoothPanel *self)
 	g_object_set (self->priv->chooser,
 		      "show-searching", FALSE,
 		      "show-device-type", FALSE,
-		      "show-device-type-column", FALSE,
+		      "show-device-type-columnt", FALSE,
 		      "show-device-category", FALSE,
 		      "show-pairing", FALSE,
 		      "show-connected", FALSE,
 		      "device-category-filter", BLUETOOTH_CATEGORY_PAIRED_OR_TRUSTED,
 		      "no-show-all", TRUE,
 		      NULL);
-	column = bluetooth_chooser_get_device_column (BLUETOOTH_CHOOSER (self->priv->chooser));
-	gtk_tree_view_column_set_title (column, _("Devices"));
 
 	/* Join treeview and buttons */
 	widget = bluetooth_chooser_get_scrolled_window (BLUETOOTH_CHOOSER (self->priv->chooser));



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