aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-07-05 22:50:57 +0800
committerChris Lahey <clahey@src.gnome.org>2001-07-05 22:50:57 +0800
commit4bb33b390b3fc556abacb345b977cd20146d6ae7 (patch)
tree9b1d16e03fd2a4dccf0ee45deda388b6f86563af /widgets/table
parent5438b275894ae095116ef0312cc687da09de248d (diff)
downloadgsoc2013-evolution-4bb33b390b3fc556abacb345b977cd20146d6ae7.tar.gz
gsoc2013-evolution-4bb33b390b3fc556abacb345b977cd20146d6ae7.tar.zst
gsoc2013-evolution-4bb33b390b3fc556abacb345b977cd20146d6ae7.zip
Call e_table_item_leave_edit here.
2001-07-05 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c (ect_cancel_edit): Call e_table_item_leave_edit here. svn path=/trunk/; revision=10805
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-cell-text.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 717c4d8abc..8fcfd35173 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -36,6 +36,7 @@
#include <gtk/gtkinvisible.h>
#include <gtk/gtksignal.h>
#include <gdk/gdkkeysyms.h>
+#include <gtk/gtkwidget.h>
#include <libgnomeui/gnome-canvas.h>
#include <libgnomeui/gnome-canvas-rect-ellipse.h>
#include "e-cell-text.h"
@@ -312,6 +313,7 @@ static void
ect_cancel_edit (ECellTextView *text_view)
{
ect_stop_editing (text_view);
+ e_table_item_leave_edit (text_view->cell_view.e_table_item_view);
}
/*
@@ -1204,6 +1206,8 @@ ect_show_tooltip (ECellView *ecell_view,
canvas = e_canvas_new ();
gtk_container_add (GTK_CONTAINER (window), canvas);
+ GTK_WIDGET_UNSET_FLAGS (canvas, GTK_CAN_FOCUS);
+ GTK_WIDGET_UNSET_FLAGS (window, GTK_CAN_FOCUS);
max_width = 0.0;
for (lines = cell.breaks->lines, i = 0; i < cell.breaks->num_lines;