diff options
| author | Matthew Barnes <mbarnes@redhat.com> | 2011-01-10 11:16:14 +0800 | 
|---|---|---|
| committer | Matthew Barnes <mbarnes@redhat.com> | 2011-01-10 11:16:14 +0800 | 
| commit | e0d766536498c9c43e1c2dd03c4c4a33d7cb73f9 (patch) | |
| tree | 568e79c7b1217523b12388c2a7ed9570d689aff9 | |
| parent | d41d4ba09559eabc1a4d9a16bc7e554cee2df70d (diff) | |
| download | gsoc2013-evolution-e0d766536498c9c43e1c2dd03c4c4a33d7cb73f9.tar.gz gsoc2013-evolution-e0d766536498c9c43e1c2dd03c4c4a33d7cb73f9.tar.zst gsoc2013-evolution-e0d766536498c9c43e1c2dd03c4c4a33d7cb73f9.zip | |
evolution-2.28.3-unlocalized-labels.patch
| -rw-r--r-- | mail/em-mailer-prefs.c | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/mail/em-mailer-prefs.c b/mail/em-mailer-prefs.c index 7da40551a5..25cdf64243 100644 --- a/mail/em-mailer-prefs.c +++ b/mail/em-mailer-prefs.c @@ -257,15 +257,21 @@ label_tree_refill (GConfClient *client, guint cnxn_id, GConfEntry *entry, gpoint  		GdkColor color;  		GtkTreeIter iter;  		EUtilLabel *label = l->data; +		const gchar *name;  		if (label->colour)  			gdk_color_parse (label->colour, &color); +		if (e_util_labels_is_system (label->tag)) +			name = _(label->name); +		else +			name = label->name; +  		gtk_list_store_append (store, &iter);  		gtk_list_store_set (  			store, &iter,  			LABEL_LIST_COLUMN_COLOR, label->colour ? &color : NULL, -			LABEL_LIST_COLUMN_NAME, label->name, +			LABEL_LIST_COLUMN_NAME, name,  			LABEL_LIST_COLUMN_TAG, label->tag,  			-1);  	} | 
