diff options
author | Milan Crha <mcrha@redhat.com> | 2013-08-01 23:48:47 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2013-08-01 23:48:47 +0800 |
commit | 098b06524243b6c9a66fd1702796634d448f3341 (patch) | |
tree | 4c0a70f20cf9c3122cc30fb27900a0722be25e8f /e-util/e-table-item.c | |
parent | ca67414c22d003f5e005cc05689efdec38dcd4e7 (diff) | |
download | gsoc2013-evolution-098b06524243b6c9a66fd1702796634d448f3341.tar.gz gsoc2013-evolution-098b06524243b6c9a66fd1702796634d448f3341.tar.zst gsoc2013-evolution-098b06524243b6c9a66fd1702796634d448f3341.zip |
Bug #699603 - Message list scrolls to cursor on style change
Diffstat (limited to 'e-util/e-table-item.c')
-rw-r--r-- | e-util/e-table-item.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/e-util/e-table-item.c b/e-util/e-table-item.c index c552922a34..3f88d8cb7e 100644 --- a/e-util/e-table-item.c +++ b/e-util/e-table-item.c @@ -4077,3 +4077,18 @@ e_table_item_is_editing (ETableItem *eti) return eti_editing (eti); } + +/** + * e_table_item_cursor_scrolled: + * @eti: an %ETableItem + * + * Does necessary recalculations after cursor scrolled, like whether + * the cursor is on screen or not anymore. + **/ +void +e_table_item_cursor_scrolled (ETableItem *eti) +{ + g_return_if_fail (E_IS_TABLE_ITEM (eti)); + + eti_check_cursor_bounds (eti); +} |