diff options
-rw-r--r-- | widgets/e-table/ChangeLog | 9 | ||||
-rw-r--r-- | widgets/e-table/e-table-header-item.c | 30 | ||||
-rw-r--r-- | widgets/table/e-table-header-item.c | 30 |
3 files changed, 39 insertions, 30 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index 4ef9a21216..b420e86ddb 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,3 +1,12 @@ +2000-08-08 Miguel de Icaza <miguel@helixcode.com> + + * e-table-header-item.c: Tag some strings for translation. + +2000-07-18 Miguel de Icaza <miguel@helixcode.com> + + * e-tree-model.c (etree_destroy): Call our parent's destroy + method. + 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c: Changed e_popup_menu_run call to match diff --git a/widgets/e-table/e-table-header-item.c b/widgets/e-table/e-table-header-item.c index 0ba2cfc730..506ad546ca 100644 --- a/widgets/e-table/e-table-header-item.c +++ b/widgets/e-table/e-table-header-item.c @@ -1153,21 +1153,21 @@ ethi_popup_customize_view(GtkWidget *widget, EthiHeaderInfo *info) /* Bit 1 is always disabled. */ /* Bit 2 is disabled if not "sortable". */ static EPopupMenu ethi_context_menu [] = { - { "Sort Ascending", NULL, GTK_SIGNAL_FUNC(ethi_popup_sort_ascending), 2}, - { "Sort Descending", NULL, GTK_SIGNAL_FUNC(ethi_popup_sort_descending), 2}, - { "Unsort", NULL, GTK_SIGNAL_FUNC(ethi_popup_unsort), 0}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), 0}, - { "Group By This Field", NULL, GTK_SIGNAL_FUNC(ethi_popup_group_field), 0}, - { "Group By Box", NULL, GTK_SIGNAL_FUNC(ethi_popup_group_box), 1}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, - { "Remove This Column", NULL, GTK_SIGNAL_FUNC(ethi_popup_remove_column), 0}, - { "Field Chooser", NULL, GTK_SIGNAL_FUNC(ethi_popup_field_chooser), 0}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, - { "Alignment", NULL, GTK_SIGNAL_FUNC(ethi_popup_alignment), 1}, - { "Best Fit", NULL, GTK_SIGNAL_FUNC(ethi_popup_best_fit), 1}, - { "Format Columns...", NULL, GTK_SIGNAL_FUNC(ethi_popup_format_columns), 1}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, - { "Customize Current View...", NULL, GTK_SIGNAL_FUNC(ethi_popup_customize_view), 1}, + { N_("Sort Ascending"), NULL, GTK_SIGNAL_FUNC(ethi_popup_sort_ascending), 2}, + { N_("Sort Descending"), NULL, GTK_SIGNAL_FUNC(ethi_popup_sort_descending), 2}, + { N_("Unsort"), NULL, GTK_SIGNAL_FUNC(ethi_popup_unsort), 0}, + { "", NULL, GTK_SIGNAL_FUNC(NULL), 0}, + { N_("Group By This Field"), NULL, GTK_SIGNAL_FUNC(ethi_popup_group_field), 0}, + { N_("Group By Box"), NULL, GTK_SIGNAL_FUNC(ethi_popup_group_box), 1}, + { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, + { N_("Remove This Column"), NULL, GTK_SIGNAL_FUNC(ethi_popup_remove_column), 0}, + { N_("Field Chooser"), NULL, GTK_SIGNAL_FUNC(ethi_popup_field_chooser), 0}, + { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, + { N_("Alignment"), NULL, GTK_SIGNAL_FUNC(ethi_popup_alignment), 1}, + { N_("Best Fit"), NULL, GTK_SIGNAL_FUNC(ethi_popup_best_fit), 1}, + { N_("Format Columns..."), NULL, GTK_SIGNAL_FUNC(ethi_popup_format_columns), 1}, + { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, + { N_("Customize Current View..."), NULL, GTK_SIGNAL_FUNC(ethi_popup_customize_view), 1}, { NULL, NULL, NULL, 0 } }; diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index 0ba2cfc730..506ad546ca 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -1153,21 +1153,21 @@ ethi_popup_customize_view(GtkWidget *widget, EthiHeaderInfo *info) /* Bit 1 is always disabled. */ /* Bit 2 is disabled if not "sortable". */ static EPopupMenu ethi_context_menu [] = { - { "Sort Ascending", NULL, GTK_SIGNAL_FUNC(ethi_popup_sort_ascending), 2}, - { "Sort Descending", NULL, GTK_SIGNAL_FUNC(ethi_popup_sort_descending), 2}, - { "Unsort", NULL, GTK_SIGNAL_FUNC(ethi_popup_unsort), 0}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), 0}, - { "Group By This Field", NULL, GTK_SIGNAL_FUNC(ethi_popup_group_field), 0}, - { "Group By Box", NULL, GTK_SIGNAL_FUNC(ethi_popup_group_box), 1}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, - { "Remove This Column", NULL, GTK_SIGNAL_FUNC(ethi_popup_remove_column), 0}, - { "Field Chooser", NULL, GTK_SIGNAL_FUNC(ethi_popup_field_chooser), 0}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, - { "Alignment", NULL, GTK_SIGNAL_FUNC(ethi_popup_alignment), 1}, - { "Best Fit", NULL, GTK_SIGNAL_FUNC(ethi_popup_best_fit), 1}, - { "Format Columns...", NULL, GTK_SIGNAL_FUNC(ethi_popup_format_columns), 1}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, - { "Customize Current View...", NULL, GTK_SIGNAL_FUNC(ethi_popup_customize_view), 1}, + { N_("Sort Ascending"), NULL, GTK_SIGNAL_FUNC(ethi_popup_sort_ascending), 2}, + { N_("Sort Descending"), NULL, GTK_SIGNAL_FUNC(ethi_popup_sort_descending), 2}, + { N_("Unsort"), NULL, GTK_SIGNAL_FUNC(ethi_popup_unsort), 0}, + { "", NULL, GTK_SIGNAL_FUNC(NULL), 0}, + { N_("Group By This Field"), NULL, GTK_SIGNAL_FUNC(ethi_popup_group_field), 0}, + { N_("Group By Box"), NULL, GTK_SIGNAL_FUNC(ethi_popup_group_box), 1}, + { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, + { N_("Remove This Column"), NULL, GTK_SIGNAL_FUNC(ethi_popup_remove_column), 0}, + { N_("Field Chooser"), NULL, GTK_SIGNAL_FUNC(ethi_popup_field_chooser), 0}, + { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, + { N_("Alignment"), NULL, GTK_SIGNAL_FUNC(ethi_popup_alignment), 1}, + { N_("Best Fit"), NULL, GTK_SIGNAL_FUNC(ethi_popup_best_fit), 1}, + { N_("Format Columns..."), NULL, GTK_SIGNAL_FUNC(ethi_popup_format_columns), 1}, + { "", NULL, GTK_SIGNAL_FUNC(NULL), 1}, + { N_("Customize Current View..."), NULL, GTK_SIGNAL_FUNC(ethi_popup_customize_view), 1}, { NULL, NULL, NULL, 0 } }; |