diff options
author | Chris Lahey <clahey@src.gnome.org> | 2002-03-22 04:14:26 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-03-22 04:14:26 +0800 |
commit | 46c0e7a0544b752300c6be67110814fe8dccf3aa (patch) | |
tree | 39e0bd1f4bae072eb12ac8199aea897fe4d9ce33 | |
parent | cd1ef6be6d77640854d0b4f623292e03122f1262 (diff) | |
download | gsoc2013-evolution-46c0e7a0544b752300c6be67110814fe8dccf3aa.tar gsoc2013-evolution-46c0e7a0544b752300c6be67110814fe8dccf3aa.tar.gz gsoc2013-evolution-46c0e7a0544b752300c6be67110814fe8dccf3aa.tar.bz2 gsoc2013-evolution-46c0e7a0544b752300c6be67110814fe8dccf3aa.tar.lz gsoc2013-evolution-46c0e7a0544b752300c6be67110814fe8dccf3aa.tar.xz gsoc2013-evolution-46c0e7a0544b752300c6be67110814fe8dccf3aa.tar.zst gsoc2013-evolution-46c0e7a0544b752300c6be67110814fe8dccf3aa.zip |
+2002-03-20 Christopher James Lahey <clahey@ximian.com>
+
+ * e-table-header-item.c: Adjust this to handle the new EPopupMenu
+ API.
+
svn path=/trunk/; revision=16223
-rw-r--r-- | widgets/table/e-table-header-item.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index 07e807e773..ba149237ba 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -1443,21 +1443,21 @@ ethi_popup_customize_view(GtkWidget *widget, 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, 2}, - { N_("Sort Descending"), NULL, GTK_SIGNAL_FUNC(ethi_popup_sort_descending), NULL, 2}, - { N_("Unsort"), NULL, GTK_SIGNAL_FUNC(ethi_popup_unsort), NULL, 0}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), NULL, 0}, - { N_("Group By This Field"), NULL, GTK_SIGNAL_FUNC(ethi_popup_group_field), NULL, 16}, - { N_("Group By Box"), NULL, GTK_SIGNAL_FUNC(ethi_popup_group_box), NULL, 128}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), NULL, 1}, - { N_("Remove This Column"), NULL, GTK_SIGNAL_FUNC(ethi_popup_remove_column), NULL, 8}, - { N_("Add a Column..."), NULL, GTK_SIGNAL_FUNC(ethi_popup_field_chooser), NULL, 0}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), NULL, 1}, - { N_("Alignment"), NULL, GTK_SIGNAL_FUNC(ethi_popup_alignment), NULL, 128}, - { N_("Best Fit"), NULL, GTK_SIGNAL_FUNC(ethi_popup_best_fit), NULL, 2}, - { N_("Format Columns..."), NULL, GTK_SIGNAL_FUNC(ethi_popup_format_columns), NULL, 128}, - { "", NULL, GTK_SIGNAL_FUNC(NULL), NULL, 1}, - { N_("Customize Current View..."), NULL, GTK_SIGNAL_FUNC(ethi_popup_customize_view), NULL, 4}, + { 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 } }; |