[gnome-bluetooth] properties: Show the header in that column
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] properties: Show the header in that column
- Date: Mon, 27 Jun 2011 10:37:39 +0000 (UTC)
commit 6880cb67c467c1d863988b91dda8a3f5fdde34d7
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jun 27 11:33:42 2011 +0100
properties: Show the header in that column
And rename it to "Devices".
https://bugzilla.gnome.org/show_bug.cgi?id=647720
properties/cc-bluetooth-panel.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/properties/cc-bluetooth-panel.c b/properties/cc-bluetooth-panel.c
index c0d4b17..27acbc7 100644
--- a/properties/cc-bluetooth-panel.c
+++ b/properties/cc-bluetooth-panel.c
@@ -610,7 +610,8 @@ cc_bluetooth_panel_init (CcBluetoothPanel *self)
column = bluetooth_chooser_get_type_column (BLUETOOTH_CHOOSER (self->priv->chooser));
gtk_tree_view_column_set_visible (column, FALSE);
widget = bluetooth_chooser_get_treeview (BLUETOOTH_CHOOSER (self->priv->chooser));
- g_object_set (G_OBJECT (widget), "headers-visible", FALSE, 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]