From 11112bffd14460420d12bcb29b81ec91b04e4da0 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 17 Apr 2002 21:57:08 +0000 Subject: Bumped version number to 0.19.99.11. 2002-04-17 Christopher James Lahey * configure.in: Bumped version number to 0.19.99.11. * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h: Changed this to be API compatible with gal 0.19. Added a bunch of pound defines and added API for toggle and radio menu items. * gal/widgets/e-categories.c: Updated this to match the new EPopupMenu. From gal/e-table/ChangeLog: 2002-04-17 Christopher James Lahey * e-table-header-item.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16496 --- widgets/table/e-table-header-item.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'widgets/table/e-table-header-item.c') diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index 1542853d16..87b499fb93 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -1450,22 +1450,22 @@ free_popup_info (GtkWidget *w, EthiHeaderInfo *info) /* Bit 2 is disabled if not "sortable". */ /* Bit 4 is disabled if we don't have a pointer to our table object. */ static EPopupMenu ethi_context_menu [] = { - { N_("Sort Ascending"), NULL, GTK_SIGNAL_FUNC(ethi_popup_sort_ascending), NULL, NULL, 2}, - { N_("Sort Descending"), NULL, GTK_SIGNAL_FUNC(ethi_popup_sort_descending), NULL, NULL, 2}, - { N_("Unsort"), NULL, GTK_SIGNAL_FUNC(ethi_popup_unsort), NULL, NULL, 0}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), NULL, NULL, 0}, - { N_("Group By This Field"), NULL, GTK_SIGNAL_FUNC(ethi_popup_group_field), NULL, NULL, 16}, - { N_("Group By Box"), NULL, GTK_SIGNAL_FUNC(ethi_popup_group_box), NULL, NULL, 128}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), NULL, NULL, 1}, - { N_("Remove This Column"), NULL, GTK_SIGNAL_FUNC(ethi_popup_remove_column), NULL, NULL, 8}, - { N_("Add a Column..."), NULL, GTK_SIGNAL_FUNC(ethi_popup_field_chooser), NULL, NULL, 0}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), NULL, NULL, 1}, - { N_("Alignment"), NULL, GTK_SIGNAL_FUNC(ethi_popup_alignment), NULL, NULL, 128}, - { N_("Best Fit"), NULL, GTK_SIGNAL_FUNC(ethi_popup_best_fit), NULL, NULL, 2}, - { N_("Format Columns..."), NULL, GTK_SIGNAL_FUNC(ethi_popup_format_columns), NULL, NULL, 128}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), NULL, NULL, 1}, - { N_("Customize Current View..."), NULL, GTK_SIGNAL_FUNC(ethi_popup_customize_view), NULL, NULL, 4}, - { NULL, NULL, NULL, NULL, 0 } + E_POPUP_ITEM (N_("Sort Ascending"), GTK_SIGNAL_FUNC(ethi_popup_sort_ascending), 2), + E_POPUP_ITEM (N_("Sort Descending"), GTK_SIGNAL_FUNC(ethi_popup_sort_descending), 2), + E_POPUP_ITEM (N_("Unsort"), GTK_SIGNAL_FUNC(ethi_popup_unsort), 0), + E_POPUP_SEPARATOR, + E_POPUP_ITEM (N_("Group By This Field"), GTK_SIGNAL_FUNC(ethi_popup_group_field), 16), + E_POPUP_ITEM (N_("Group By Box"), GTK_SIGNAL_FUNC(ethi_popup_group_box), 128), + E_POPUP_SEPARATOR, + E_POPUP_ITEM (N_("Remove This Column"), GTK_SIGNAL_FUNC(ethi_popup_remove_column), 8), + E_POPUP_ITEM (N_("Add a Column..."), GTK_SIGNAL_FUNC(ethi_popup_field_chooser), 0), + E_POPUP_SEPARATOR, + E_POPUP_ITEM (N_("Alignment"), GTK_SIGNAL_FUNC(ethi_popup_alignment), 128), + E_POPUP_ITEM (N_("Best Fit"), GTK_SIGNAL_FUNC(ethi_popup_best_fit), 2), + E_POPUP_ITEM (N_("Format Columns..."), GTK_SIGNAL_FUNC(ethi_popup_format_columns), 128), + E_POPUP_SEPARATOR, + E_POPUP_ITEM (N_("Customize Current View..."), GTK_SIGNAL_FUNC(ethi_popup_customize_view), 4), + E_POPUP_TERMINATOR }; static void -- cgit v1.2.3