Fixed the remove column callback.

2000-05-23  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-header-item.c: Fixed the remove column callback.

svn path=/trunk/; revision=3187
This commit is contained in:
Christopher James Lahey
2000-05-23 23:38:11 +00:00
committed by Chris Lahey
parent 5417430314
commit 735213b4cd
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2000-05-23 Christopher James Lahey <clahey@helixcode.com>
* e-table-header-item.c: Fixed the remove column callback.
2000-05-23 Christopher James Lahey <clahey@helixcode.com>
* e-table-header-item.c: Added right click menus to the table

View File

@ -1041,6 +1041,7 @@ ethi_popup_group_box(GtkWidget *widget, EthiHeaderInfo *info)
static void
ethi_popup_remove_column(GtkWidget *widget, EthiHeaderInfo *info)
{
e_table_header_remove(info->ethi->eth, info->col);
}
static void
@ -1075,7 +1076,7 @@ static EPopupMenu ethi_context_menu [] = {
{ "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), 1},
{ "Remove This Column", NULL, GTK_SIGNAL_FUNC(ethi_popup_remove_column), 0},
{ "Field Chooser", NULL, GTK_SIGNAL_FUNC(ethi_popup_field_chooser), 1},
{ "", NULL, GTK_SIGNAL_FUNC(NULL), 1},
{ "Alignment", NULL, GTK_SIGNAL_FUNC(ethi_popup_alignment), 1},

View File

@ -1041,6 +1041,7 @@ ethi_popup_group_box(GtkWidget *widget, EthiHeaderInfo *info)
static void
ethi_popup_remove_column(GtkWidget *widget, EthiHeaderInfo *info)
{
e_table_header_remove(info->ethi->eth, info->col);
}
static void
@ -1075,7 +1076,7 @@ static EPopupMenu ethi_context_menu [] = {
{ "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), 1},
{ "Remove This Column", NULL, GTK_SIGNAL_FUNC(ethi_popup_remove_column), 0},
{ "Field Chooser", NULL, GTK_SIGNAL_FUNC(ethi_popup_field_chooser), 1},
{ "", NULL, GTK_SIGNAL_FUNC(NULL), 1},
{ "Alignment", NULL, GTK_SIGNAL_FUNC(ethi_popup_alignment), 1},