aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@gnome.hu>2012-02-01 22:13:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-02-01 22:13:49 +0800
commit4ca964860bf00a4e45fd434eed771b85ba443fd6 (patch)
treee158dec1188149a50556fdd8a0839f78500de59d
parent4be79b7d35280cf81c37b03a929253db82b3b204 (diff)
downloadgsoc2013-evolution-4ca964860bf00a4e45fd434eed771b85ba443fd6.tar.gz
gsoc2013-evolution-4ca964860bf00a4e45fd434eed771b85ba443fd6.tar.zst
gsoc2013-evolution-4ca964860bf00a4e45fd434eed771b85ba443fd6.zip
Bug 664160 - Untranslated headers in certificates table
-rw-r--r--smime/gui/certificate-manager.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/smime/gui/certificate-manager.c b/smime/gui/certificate-manager.c
index 274fc32aae..be30929cda 100644
--- a/smime/gui/certificate-manager.c
+++ b/smime/gui/certificate-manager.c
@@ -397,8 +397,8 @@ treeview_add_column (CertPage *cp,
cell = gtk_cell_renderer_text_new ();
g_object_set (cell, "ellipsize", PANGO_ELLIPSIZE_END, NULL);
column = gtk_tree_view_column_new_with_attributes (
- cp->columns[column_index].column_title, cell,
- "text", column_index, NULL);
+ gettext (cp->columns[column_index].column_title),
+ cell, "text", column_index, NULL);
gtk_tree_view_column_set_resizable (column, TRUE);
gtk_tree_view_column_set_reorderable (column, TRUE);
gtk_tree_view_column_set_sort_column_id (column, column_index);
@@ -415,7 +415,8 @@ treeview_add_column (CertPage *cp,
return;
/* Add item to header popup */
- item = gtk_check_menu_item_new_with_label (cp->columns[column_index].column_title);
+ item = gtk_check_menu_item_new_with_label (
+ gettext (cp->columns[column_index].column_title));
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), cp->columns[column_index].visible);
gtk_menu_attach (cp->popup_menu, item, 0, 1, column_index - 1, column_index);
g_signal_connect (item, "toggled",