diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2001-01-21 13:46:49 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-01-21 13:46:49 +0800 |
commit | 7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3 (patch) | |
tree | acb732fb3bc5e5bbbfb1e0a0492bc3fe3e5aa222 /widgets/table/e-table-header-item.c | |
parent | 50ef085e18b3cd54f1cea88ceb20156a56fb050d (diff) | |
download | gsoc2013-evolution-7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3.tar.gz gsoc2013-evolution-7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3.tar.zst gsoc2013-evolution-7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3.zip |
Made this conform to the new prototype for e_popup_menu_run.
2001-01-21 Christopher James Lahey <clahey@helixcode.com>
* e-table-header-item.c (ethi_header_context_menu): Made this
conform to the new prototype for e_popup_menu_run.
* e-table-item.c, e-table-item.h: Documented.
(e_table_item_is_row_selected): Removed this function.
(eti_draw): Changed this so that if the ETableItem is in
cursor-mode="row", the cursor is draw all the way across the row.
(eti_cursor_move_up, eti_cursor_move_down): Commented these out
since they're no longer used.
(_do_tooltip, eti_event): Commented out tooltips.
(eti_event): Made it so that we call the key_press function in the
%ETableSelectionModel on each key press.
* e-table-selection-model.c, e-table-selection-model.h:
Documented. Added a function e_table_selection_model_key_press
that does whatever behavior is correct for the user having pressed
the given key. Changed the behavior of this to better match
windows (use selection-mode="browse").
* e-table-specification.c, e-table-specification.h: Added a
draw_focus variable.
* e-table.c: Decide whether to draw the focus based on the
ETableSpecification. Removed the argument for setting whether to
draw the focus.
svn path=/trunk/; revision=7673
Diffstat (limited to 'widgets/table/e-table-header-item.c')
-rw-r--r-- | widgets/table/e-table-header-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index e1fb7f4b02..66dd882b3b 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -1288,7 +1288,7 @@ ethi_header_context_menu (ETableHeaderItem *ethi, GdkEventButton *event) info->ethi = ethi; info->col = ethi_find_col_by_x (ethi, event->x); col = e_table_header_get_column (ethi->eth, info->col); - e_popup_menu_run (ethi_context_menu, event, + e_popup_menu_run (ethi_context_menu, (GdkEvent *) event, 1 + (col->sortable ? 0 : 2) + (ethi->table ? 0 : 4), 0, info); |