[PATCH] : small i18n fix
- From: Emmanuel <e allaud wanadoo fr>
- To: ML de Balsa <balsa-list gnome org>
- Subject: [PATCH] : small i18n fix
- Date: Thu, 22 Aug 2002 10:23:10 -0400
Hi all,
this fixes bug that prevented the conditions names to be i18ned in the
filter edit dialog.
Bye
Manu
diff -u /home/manu/prog/balsa-cvs/balsa/src/filter-edit-callbacks.c balsa/src/filter-edit-callbacks.c
--- /home/manu/prog/balsa-cvs/balsa/src/filter-edit-callbacks.c Wed Aug 7 07:45:01 2002
+++ balsa/src/filter-edit-callbacks.c Thu Aug 22 10:18:52 2002
@@ -1693,9 +1693,13 @@
filter_errno=FILTER_NOERR;
for (list=fil->conditions;
list && filter_errno==FILTER_NOERR;list=g_slist_next(list)) {
+ gchar * tmp;
+
cnd=(LibBalsaCondition*) list->data;
+ tmp = g_strdup(_(fe_search_type[cnd->type-1].text));
new_row=gtk_clist_append(fe_conditions_list,
- &(fe_search_type[cnd->type-1].text));
+ &tmp);
+ g_free(tmp);
gtk_clist_set_row_data(fe_conditions_list,new_row,
libbalsa_condition_clone(cnd));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]