diff options
author | Miguel de Icaza <miguel@gnu.org> | 1999-12-31 10:23:37 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-12-31 10:23:37 +0800 |
commit | f55c64565cd6b2820652b09cd647581067e4c188 (patch) | |
tree | d7c39cd75444e9454480d84662ffb76ed9949d9a /widgets/e-table.c | |
parent | d0606659a4bb08bdb635fea2b702856b2fabb480 (diff) | |
download | gsoc2013-evolution-f55c64565cd6b2820652b09cd647581067e4c188.tar gsoc2013-evolution-f55c64565cd6b2820652b09cd647581067e4c188.tar.gz gsoc2013-evolution-f55c64565cd6b2820652b09cd647581067e4c188.tar.bz2 gsoc2013-evolution-f55c64565cd6b2820652b09cd647581067e4c188.tar.lz gsoc2013-evolution-f55c64565cd6b2820652b09cd647581067e4c188.tar.xz gsoc2013-evolution-f55c64565cd6b2820652b09cd647581067e4c188.tar.zst gsoc2013-evolution-f55c64565cd6b2820652b09cd647581067e4c188.zip |
Ok, the restructuring of ETableItem to compute its size without hacks is
Ok, the restructuring of ETableItem to compute its size without hacks is
in now. I am feeling better now.
1999-12-30 Miguel de Icaza <miguel@gnu.org>
* e-table-item.c (eti_attach_cell_views): New routine, creates the
cell views.
(eti_detach_cell_views): Detaches the cell_views from the
ETableItem.
(eti_realize_cell_views, eti_unrealize_cell_views): Simplified to
just do realize/unrealize notification.
(eti_add_table_model): Only attach the cells when we have both the
table model and the header model.
* e-cell.h (ECellClass): Added two new methods: new_view and
kill_view which drive the view process (instead of putting that on
realize/unrealize).
* e-cell.c: Adapt the code to use the new scheme for view
instantiation.
* e-cell-text.c, e-cell-toggle.c: Adapted to the new class
changes.
svn path=/trunk/; revision=1523
Diffstat (limited to 'widgets/e-table.c')
-rw-r--r-- | widgets/e-table.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/widgets/e-table.c b/widgets/e-table.c index ff81866361..01389135bf 100644 --- a/widgets/e-table.c +++ b/widgets/e-table.c @@ -441,21 +441,10 @@ e_table_canvas_realize (GtkWidget *widget) "y", 0.0, NULL); - e_table->gen_header_width = e_table_header_total_width (e_table->header); - leaf = e_table_create_nodes ( e_table, e_table->model, e_table->header, GNOME_CANVAS_GROUP (e_table->root), 0, groups); - { - static int warn_shown; - - if (!warn_shown){ - g_warning ("Precompute the width, and update on model changes"); - warn_shown = 1; - } - } - gnome_canvas_set_scroll_region ( GNOME_CANVAS (e_table_canvas), 0, 0, |