diff options
author | Tim Wo <tim.wo@sun.com> | 2003-12-02 14:14:34 +0800 |
---|---|---|
committer | Gilbert Fang <gilbertfang@src.gnome.org> | 2003-12-02 14:14:34 +0800 |
commit | 3e2e35b2a2fda14262d3fb50b0442441e0fcada0 (patch) | |
tree | c5352960c0f9b41dc68c0230680e7e09d7ddf5ab /a11y/e-table/gal-a11y-e-cell-toggle.c | |
parent | 86ec8d221e158ff53f47766464ddb1c5baff5167 (diff) | |
download | gsoc2013-evolution-3e2e35b2a2fda14262d3fb50b0442441e0fcada0.tar.gz gsoc2013-evolution-3e2e35b2a2fda14262d3fb50b0442441e0fcada0.tar.zst gsoc2013-evolution-3e2e35b2a2fda14262d3fb50b0442441e0fcada0.zip |
use table item to get the model. (gal_a11y_e_cell_toggle_new): use table
2003-12-02 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c:
(gal_a11y_e_cell_toggle_dispose): use table item to get the model.
(gal_a11y_e_cell_toggle_new): use table item to get the model.
* gal/a11y/e-table/gal-a11y-e-cell-tree.c:
(ectr_model_row_changed_cb): new function to deal with tree cell
expansion and collapse
(ectr_subcell_weak_ref): destroy the cell_tree a11y instance along
with it's subcell's a11y instance.
(gal_a11y_e_cell_tree_new): init the atk state of the tree cell,
and connect to the model_row_change signal of table model, so that
when the tree cell expands or collapses, the corresponding AtkState
could be set.
* gal/a11y/e-table/gal-a11y-e-cell-tree.h: add one member to save
the connected signal id.
svn path=/trunk/; revision=23567
Diffstat (limited to 'a11y/e-table/gal-a11y-e-cell-toggle.c')
-rw-r--r-- | a11y/e-table/gal-a11y-e-cell-toggle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/a11y/e-table/gal-a11y-e-cell-toggle.c b/a11y/e-table/gal-a11y-e-cell-toggle.c index 497483d255..f3b5bf2879 100644 --- a/a11y/e-table/gal-a11y-e-cell-toggle.c +++ b/a11y/e-table/gal-a11y-e-cell-toggle.c @@ -13,7 +13,7 @@ gal_a11y_e_cell_toggle_dispose (GObject *object) { GalA11yECellToggle *a11y = GAL_A11Y_E_CELL_TOGGLE (object); - ETableModel *e_table_model = GAL_A11Y_E_CELL (a11y)->cell_view->e_table_model; + ETableModel *e_table_model = GAL_A11Y_E_CELL (a11y)->item->table_model; if (e_table_model) g_signal_handler_disconnect (e_table_model, a11y->model_id); @@ -146,7 +146,7 @@ gal_a11y_e_cell_toggle_new (ETableItem *item, NULL, /* action keybinding */ toggle_cell_action); - toggle_cell->model_id = g_signal_connect (cell_view->e_table_model, + toggle_cell->model_id = g_signal_connect (item->table_model, "model_cell_changed", (GCallback) model_change_cb, a11y); |