diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-05-24 07:38:11 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-05-24 07:38:11 +0800 |
commit | 735213b4cd031c53106ba2cf70c2d0ecd85cfdd0 (patch) | |
tree | 5d88a8edacd06c8fbb9c34647cdd3c7e167ee173 /widgets | |
parent | 541743031461539cddc82586f0be5c573ed4e956 (diff) | |
download | gsoc2013-evolution-735213b4cd031c53106ba2cf70c2d0ecd85cfdd0.tar.gz gsoc2013-evolution-735213b4cd031c53106ba2cf70c2d0ecd85cfdd0.tar.zst gsoc2013-evolution-735213b4cd031c53106ba2cf70c2d0ecd85cfdd0.zip |
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
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/e-table/ChangeLog | 4 | ||||
-rw-r--r-- | widgets/e-table/e-table-header-item.c | 3 | ||||
-rw-r--r-- | widgets/table/e-table-header-item.c | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index f712cf65d6..57015bac91 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,5 +1,9 @@ 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 header items. diff --git a/widgets/e-table/e-table-header-item.c b/widgets/e-table/e-table-header-item.c index 436b2c8283..7fc192ca20 100644 --- a/widgets/e-table/e-table-header-item.c +++ b/widgets/e-table/e-table-header-item.c @@ -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}, diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index 436b2c8283..7fc192ca20 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -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}, |