diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-07-10 00:03:21 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-07-10 00:03:21 +0800 |
commit | a9cc8f7c2dbf8f5282cc287ae8d20bb586dd8702 (patch) | |
tree | c93e6e0127eb050fb1514ab60830c5fd9dc2f1da | |
parent | 14f210e058d32fd6b656f9f6184316f448b3eacb (diff) | |
download | gsoc2013-evolution-a9cc8f7c2dbf8f5282cc287ae8d20bb586dd8702.tar gsoc2013-evolution-a9cc8f7c2dbf8f5282cc287ae8d20bb586dd8702.tar.gz gsoc2013-evolution-a9cc8f7c2dbf8f5282cc287ae8d20bb586dd8702.tar.bz2 gsoc2013-evolution-a9cc8f7c2dbf8f5282cc287ae8d20bb586dd8702.tar.lz gsoc2013-evolution-a9cc8f7c2dbf8f5282cc287ae8d20bb586dd8702.tar.xz gsoc2013-evolution-a9cc8f7c2dbf8f5282cc287ae8d20bb586dd8702.tar.zst gsoc2013-evolution-a9cc8f7c2dbf8f5282cc287ae8d20bb586dd8702.zip |
Put back e_cell_event sometimes when we're not editing.
2000-07-09 Christopher James Lahey <clahey@helixcode.com>
* e-table-item.c (eti_event): Put back e_cell_event sometimes when
we're not editing.
svn path=/trunk/; revision=4019
-rw-r--r-- | widgets/e-table/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/e-table/e-table-item.c | 6 | ||||
-rw-r--r-- | widgets/table/e-table-item.c | 6 |
3 files changed, 11 insertions, 6 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index 2c09df5a16..817a0e70d6 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,5 +1,10 @@ 2000-07-09 Christopher James Lahey <clahey@helixcode.com> + * e-table-item.c (eti_event): Put back e_cell_event sometimes when + we're not editing. + +2000-07-09 Christopher James Lahey <clahey@helixcode.com> + * e-table.c: Set the dnd_code to something non-null for the ETableHeaderItem. diff --git a/widgets/e-table/e-table-item.c b/widgets/e-table/e-table-item.c index 4636bc8a56..c9dc87dc77 100644 --- a/widgets/e-table/e-table-item.c +++ b/widgets/e-table/e-table-item.c @@ -1277,7 +1277,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) } } - if (eti_editing(eti) && eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ + if (eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ e_table_item_focus (eti, col, view_to_model_row(eti, row), shifted); @@ -1323,7 +1323,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) if (!find_cell (eti, e->button.x, e->button.y, &col, &row, &x1, &y1)) return TRUE; - if (eti_editing(eti) && eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ + if (eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ ecol = e_table_header_get_column (eti->header, col); ecell_view = eti->cell_views [col]; @@ -1373,7 +1373,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) if (!find_cell (eti, e->motion.x, e->motion.y, &col, &row, &x1, &y1)) return TRUE; - if (eti_editing(eti) && eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ + if (eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ ecol = e_table_header_get_column (eti->header, col); ecell_view = eti->cell_views [col]; diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 4636bc8a56..c9dc87dc77 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1277,7 +1277,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) } } - if (eti_editing(eti) && eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ + if (eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ e_table_item_focus (eti, col, view_to_model_row(eti, row), shifted); @@ -1323,7 +1323,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) if (!find_cell (eti, e->button.x, e->button.y, &col, &row, &x1, &y1)) return TRUE; - if (eti_editing(eti) && eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ + if (eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ ecol = e_table_header_get_column (eti->header, col); ecell_view = eti->cell_views [col]; @@ -1373,7 +1373,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) if (!find_cell (eti, e->motion.x, e->motion.y, &col, &row, &x1, &y1)) return TRUE; - if (eti_editing(eti) && eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ + if (eti->cursor_row == view_to_model_row(eti, row) && eti->cursor_col == col){ ecol = e_table_header_get_column (eti->header, col); ecell_view = eti->cell_views [col]; |