[network-manager-applet/NETWORKMANAGER_APPLET_0_7] editor: show column headers in connection lists
- From: Dan Williams <dcbw src gnome org>
- To: svn-commits-list gnome org
- Subject: [network-manager-applet/NETWORKMANAGER_APPLET_0_7] editor: show column headers in connection lists
- Date: Wed, 8 Jul 2009 16:47:53 +0000 (UTC)
commit 1250d754c407e7fde26c67d48a87b04b6d742369
Author: Dan Williams <dcbw redhat com>
Date: Tue Jul 7 13:53:37 2009 -0400
editor: show column headers in connection lists
src/connection-editor/nm-connection-list.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/connection-editor/nm-connection-list.c b/src/connection-editor/nm-connection-list.c
index ae99aa7..0bace76 100644
--- a/src/connection-editor/nm-connection-list.c
+++ b/src/connection-editor/nm-connection-list.c
@@ -1336,6 +1336,7 @@ add_connection_treeview (NMConnectionList *self, const char *prefix)
name = g_strdup_printf ("%s_list", prefix);
treeview = GTK_TREE_VIEW (glade_xml_get_widget (self->gui, name));
g_free (name);
+ gtk_tree_view_set_headers_visible (treeview, TRUE);
/* Model */
model = GTK_TREE_MODEL (gtk_list_store_new (4, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_UINT64, G_TYPE_OBJECT));
@@ -1346,7 +1347,7 @@ add_connection_treeview (NMConnectionList *self, const char *prefix)
/* Name column */
gtk_tree_view_insert_column_with_attributes (treeview,
- -1, "Name", gtk_cell_renderer_text_new (),
+ -1, _("Name"), gtk_cell_renderer_text_new (),
"text", COL_ID,
NULL);
gtk_tree_view_column_set_expand (gtk_tree_view_get_column (treeview, 0), TRUE);
@@ -1358,7 +1359,7 @@ add_connection_treeview (NMConnectionList *self, const char *prefix)
g_object_set_property (G_OBJECT (renderer), "foreground", &val);
gtk_tree_view_insert_column_with_attributes (treeview,
- -1, "Last Used", renderer,
+ -1, _("Last Used"), renderer,
"text", COL_LAST_USED,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]