aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
diff options
context:
space:
mode:
authorIain Holmes <iain@helixcode.com>2000-09-27 07:38:22 +0800
committerIain Holmes <iain@src.gnome.org>2000-09-27 07:38:22 +0800
commitdac353c09740029c071c0949a49de2eeae471732 (patch)
treecf34851acb60515136ab378544b0478fc67f1bac /widgets/table/e-table-item.c
parentd71561a2ae3b1cfbc3542940c7087584045f2b2e (diff)
downloadgsoc2013-evolution-dac353c09740029c071c0949a49de2eeae471732.tar
gsoc2013-evolution-dac353c09740029c071c0949a49de2eeae471732.tar.gz
gsoc2013-evolution-dac353c09740029c071c0949a49de2eeae471732.tar.bz2
gsoc2013-evolution-dac353c09740029c071c0949a49de2eeae471732.tar.lz
gsoc2013-evolution-dac353c09740029c071c0949a49de2eeae471732.tar.xz
gsoc2013-evolution-dac353c09740029c071c0949a49de2eeae471732.tar.zst
gsoc2013-evolution-dac353c09740029c071c0949a49de2eeae471732.zip
Fudge the location of a click in the tooltip, so that it selects the
2000-09-27 Iain Holmes <iain@helixcode.com> * e-cell-text.c: Fudge the location of a click in the tooltip, so that it selects the current cell. Pass keyboard events to the e-table. * e-table-item.c: Don't show the tooltip if the cell is being editted. Also don't destroy the tooltip until the button release event (other wise the e-table-item starts a select) 2000-09-25 Iain Holmes <iain@helixcode.com> * e-table-header-item.c (draw_button): Calculate the vertical offset correctly to centre text. 2000-09-25 Iain Holmes <iain@helixcode.com> * e-table-header-item.c (ethi_popup_best_fit): Fill this out to call the "request_width" signal and set the new size. svn path=/trunk/; revision=5599
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r--widgets/table/e-table-item.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 484b263aa1..0e329486b4 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1427,6 +1427,9 @@ _do_tooltip (ETableItem *eti)
int x = 0, y = 0;
int i;
+ if (eti_editing (eti))
+ return FALSE;
+
ecell_view = eti->cell_views[eti->tooltip->col];
for (i = 0; i < eti->tooltip->col; i++)
@@ -1465,10 +1468,6 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
gtk_timeout_remove (eti->tooltip->timer);
eti->tooltip->timer = 0;
}
- if (eti->tooltip->window) {
- gtk_widget_destroy (eti->tooltip->window);
- eti->tooltip->window = NULL;
- }
e_canvas_item_grab_focus(GNOME_CANVAS_ITEM(eti));
switch (e->button.button) {