diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-10-11 17:40:22 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-10-11 17:40:22 +0800 |
commit | 8d310c47bd10416b7b4eca88b04664d8e903b549 (patch) | |
tree | d3968a042c420e93e4d2e715276b51a6cabb06bc /widgets/table/e-table-extras.c | |
parent | abbd11d2aa07bb781026c54d3394eb508c3c279c (diff) | |
download | gsoc2013-evolution-8d310c47bd10416b7b4eca88b04664d8e903b549.tar.gz gsoc2013-evolution-8d310c47bd10416b7b4eca88b04664d8e903b549.tar.zst gsoc2013-evolution-8d310c47bd10416b7b4eca88b04664d8e903b549.zip |
Changed these to use the default cells.
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c:
Changed these to use the default cells.
From gal/e-table/ChangeLog:
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* e-cell-text.c, e-cell-text.h, e-cell-tree.c, e-cell-tree.h: Got
rid of the model parameter to e_cell_text_new and e_cell_tree_new
as they aren't used.
* e-table-extras.c: Added default "integer" compare and default
"tree-string", "string", and "checkbox" cells.
* e-table.c: Made this use the draw-grid, cursor-mode, and
_click-to-add-message fields from the xml.
svn path=/trunk/; revision=5841
Diffstat (limited to 'widgets/table/e-table-extras.c')
-rw-r--r-- | widgets/table/e-table-extras.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/table/e-table-extras.c b/widgets/table/e-table-extras.c index c9d6545d97..d4b2fda12b 100644 --- a/widgets/table/e-table-extras.c +++ b/widgets/table/e-table-extras.c @@ -13,6 +13,7 @@ #include "gal/util/e-util.h" #include "gal/e-table/e-cell-text.h" #include "gal/e-table/e-cell-checkbox.h" +#include "gal/e-table/e-cell-tree.h" #include "e-table-extras.h" #define PARENT_TYPE (gtk_object_get_type()) @@ -75,6 +76,11 @@ ete_init (ETableExtras *extras) extras->pixbufs = g_hash_table_new(g_str_hash, g_str_equal); e_table_extras_add_compare(extras, "string", g_str_compare); + e_table_extras_add_compare(extras, "integer", g_int_compare); + + e_table_extras_add_cell(extras, "checkbox", e_cell_checkbox_new()); + e_table_extras_add_cell(extras, "string", e_cell_text_new (NULL, GTK_JUSTIFY_LEFT)); + e_table_extras_add_cell(extras, "tree-string", e_cell_tree_new (NULL, NULL, TRUE, e_cell_text_new (NULL, GTK_JUSTIFY_LEFT))); } E_MAKE_TYPE(e_table_extras, "ETableExtras", ETableExtras, ete_class_init, ete_init, PARENT_TYPE); |