From 3e2e35b2a2fda14262d3fb50b0442441e0fcada0 Mon Sep 17 00:00:00 2001 From: Tim Wo Date: Tue, 2 Dec 2003 06:14:34 +0000 Subject: use table item to get the model. (gal_a11y_e_cell_toggle_new): use table 2003-12-02 Tim Wo * 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 --- a11y/e-table/gal-a11y-e-cell-tree.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'a11y/e-table/gal-a11y-e-cell-tree.h') diff --git a/a11y/e-table/gal-a11y-e-cell-tree.h b/a11y/e-table/gal-a11y-e-cell-tree.h index 4d48b66de4..355670b5a4 100644 --- a/a11y/e-table/gal-a11y-e-cell-tree.h +++ b/a11y/e-table/gal-a11y-e-cell-tree.h @@ -29,6 +29,8 @@ typedef struct _GalA11yECellTreePrivate GalA11yECellTreePrivate; **/ struct _GalA11yECellTree { GalA11yECell object; + + int model_row_changed_id; }; struct _GalA11yECellTreeClass { -- cgit