[evolution] Bug 664160 - Untranslated headers in certificates table



commit 4ca964860bf00a4e45fd434eed771b85ba443fd6
Author: Gabor Kelemen <kelemeng gnome hu>
Date:   Wed Feb 1 09:13:49 2012 -0500

    Bug 664160 - Untranslated headers in certificates table

 smime/gui/certificate-manager.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/smime/gui/certificate-manager.c b/smime/gui/certificate-manager.c
index 274fc32..be30929 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",



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