aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/ChangeLog6
-rw-r--r--widgets/table/e-table-header-item.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index 10cf401481..01d6618e07 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,9 @@
+2006-04-10 Jeff Cai <jeff.cai@sun.com>
+
+ ** Fixes bug #327035
+ * e-table-header-item.c: (ethi_event):
+ Grab focus only from widgets which can have focus on.
+
2006-03-02 Srinivasa Ragavan <sragavan@novell.com>
** Fixes bug #328283
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index e43fd9fdf5..7f340f990a 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -1678,7 +1678,8 @@ ethi_event (GnomeCanvasItem *item, GdkEvent *e)
ethi->maybe_drag = TRUE;
is_pointer_on_division (ethi, x, &start, &col);
ethi->selected_col = col;
- e_canvas_item_grab_focus (item, TRUE);
+ if (GTK_WIDGET_CAN_FOCUS (GTK_WIDGET (item->canvas)))
+ e_canvas_item_grab_focus (item, TRUE);
} else if (e->button.button == 3){
ethi_header_context_menu (ethi, &e->button);
} else