diff options
author | Dan Winship <danw@src.gnome.org> | 2001-03-16 06:48:28 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-03-16 06:48:28 +0800 |
commit | d7f5b9e1a89ca693a6ab3ecc584b1084833286e0 (patch) | |
tree | 11e8c9b08580204149376ffedaba13bbc9f1203d /widgets | |
parent | 3b21f3119c844eb59c2c54183b77bf71bf61f224 (diff) | |
download | gsoc2013-evolution-d7f5b9e1a89ca693a6ab3ecc584b1084833286e0.tar.gz gsoc2013-evolution-d7f5b9e1a89ca693a6ab3ecc584b1084833286e0.tar.zst gsoc2013-evolution-d7f5b9e1a89ca693a6ab3ecc584b1084833286e0.zip |
Update arguments to e_canvas_item_grab_focus. (eti_cursor_change): Ditto,
* e-table-item.c (eti_event): Update arguments to
e_canvas_item_grab_focus.
(eti_cursor_change): Ditto, but pass FALSE! Fixes the problem of
the Evolution message list stealing your focus when new mail
arrives. Ha!
svn path=/trunk/; revision=8746
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-table-item.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 3296287ce7..e4a4126f43 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -1633,7 +1633,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) switch (e->button.button) { case 1: /* Fall through. */ case 2: - e_canvas_item_grab_focus(GNOME_CANVAS_ITEM(eti)); + e_canvas_item_grab_focus(GNOME_CANVAS_ITEM(eti), TRUE); gnome_canvas_item_w2i (item, &e->button.x, &e->button.y); if (!find_cell (eti, e->button.x, e->button.y, &col, &row, &x1, &y1)) { @@ -1681,7 +1681,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e) break; case 3: - e_canvas_item_grab_focus(GNOME_CANVAS_ITEM(eti)); + e_canvas_item_grab_focus(GNOME_CANVAS_ITEM(eti), TRUE); gnome_canvas_item_w2i (item, &e->button.x, &e->button.y); if (!find_cell (eti, e->button.x, e->button.y, &col, &row, &x1, &y1)) return TRUE; @@ -2226,7 +2226,7 @@ eti_cursor_change (ETableSelectionModel *selection, int row, int col, ETableItem eti_request_region_show (eti, view_col, view_row, view_col, view_row, 0); } - e_canvas_item_grab_focus(GNOME_CANVAS_ITEM(eti)); + e_canvas_item_grab_focus(GNOME_CANVAS_ITEM(eti), FALSE); if (eti_editing(eti)) e_table_item_leave_edit (eti); gtk_signal_emit (GTK_OBJECT (eti), eti_signals [CURSOR_CHANGE], |