diff options
author | Bruce Tao <bruce.tao@sun.com> | 2004-05-10 18:13:57 +0800 |
---|---|---|
committer | Yuedong Du <york@src.gnome.org> | 2004-05-10 18:13:57 +0800 |
commit | 91b30fc6b8968c7ba6633bd8dc3a3315e5fe4095 (patch) | |
tree | cc62921e181c4653dba8340acda3742d96bffca8 /widgets/table/e-table-click-to-add.c | |
parent | 3be3d1a2e424d25e61de0326b6b4c5ba0ae75bba (diff) | |
download | gsoc2013-evolution-91b30fc6b8968c7ba6633bd8dc3a3315e5fe4095.tar.gz gsoc2013-evolution-91b30fc6b8968c7ba6633bd8dc3a3315e5fe4095.tar.zst gsoc2013-evolution-91b30fc6b8968c7ba6633bd8dc3a3315e5fe4095.zip |
Fixes #51626
2004-04-22 Bruce Tao <bruce.tao@sun.com>
Fixes #51626
* e-table-click-to-add.c: (etcta_event):
Add an entry for focus_in event, do the same thing as button_press event.
* e-table-item.c: (eti_event):
Mask the Ctrl+Tab processing routine.
* e-table.c: (table_canvas_focus_event_cb), (canvas_vbox_event),
(click_to_add_event), (e_table_setup_table):
Enable you to navigate between click_to_add and the existing tasks by
pressing Ctrl+Tab. However, if there is no existing task, you can still jump
out of click_to_add by this way.
svn path=/trunk/; revision=25831
Diffstat (limited to 'widgets/table/e-table-click-to-add.c')
-rw-r--r-- | widgets/table/e-table-click-to-add.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c index df395ebaf7..8fb151bc24 100644 --- a/widgets/table/e-table-click-to-add.c +++ b/widgets/table/e-table-click-to-add.c @@ -348,6 +348,10 @@ etcta_event (GnomeCanvasItem *item, GdkEvent *e) ETableClickToAdd *etcta = E_TABLE_CLICK_TO_ADD (item); switch (e->type){ + case GDK_FOCUS_CHANGE: + if (!e->focus_change.in) + return TRUE; + case GDK_BUTTON_PRESS: if (etcta->text) { gtk_object_destroy(etcta->text); |