diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2001-01-30 19:37:34 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-01-30 19:37:34 +0800 |
commit | da03d43325d3410577ace4073d5b26fd72944ce4 (patch) | |
tree | f8b56730e2d62409f0d951034eda25a69968a081 /widgets/table/e-table-specification.c | |
parent | 8ee392b8a3cea8965d3cc250c9e679d48f5d4aed (diff) | |
download | gsoc2013-evolution-da03d43325d3410577ace4073d5b26fd72944ce4.tar.gz gsoc2013-evolution-da03d43325d3410577ace4073d5b26fd72944ce4.tar.zst gsoc2013-evolution-da03d43325d3410577ace4073d5b26fd72944ce4.zip |
Made the contained %ETableItem have cursor_mode as
2001-01-30 Christopher James Lahey <clahey@helixcode.com>
* e-table-click-to-add.c (etcta_event): Made the contained
%ETableItem have cursor_mode as %E_TABLE_CURSOR_SPREADSHEET.
* e-table-defines.h, e-table-item.c, e-table-specification.c:
Added a new cursor mode E_TABLE_CURSOR_SPREADSHEET. This is
accessed using cursor_mode="spreadsheet" in your specification
xml, as well as by the click_to_add item. It is identical to
E_TABLE_CURSOR_SIMPLE, except that tab goes to the next item in
the table instead of to the next widget.
svn path=/trunk/; revision=7910
Diffstat (limited to 'widgets/table/e-table-specification.c')
-rw-r--r-- | widgets/table/e-table-specification.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c index 33523129b8..fff5812aa2 100644 --- a/widgets/table/e-table-specification.c +++ b/widgets/table/e-table-specification.c @@ -176,6 +176,8 @@ e_table_specification_load_from_node (ETableSpecification *specification, temp = e_xml_get_string_prop_by_name (node, "cursor-mode"); if (temp && !strcasecmp (temp, "line")) { specification->cursor_mode = E_TABLE_CURSOR_LINE; + } else if (temp && !strcasecmp (temp, "spreadsheet")) { + specification->cursor_mode = E_TABLE_CURSOR_SPREADSHEET; } g_free (temp); g_free (specification->click_to_add_message); |