aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorYuedong Du <yuedong.du@sun.com>2003-10-28 13:41:05 +0800
committerYuedong Du <york@src.gnome.org>2003-10-28 13:41:05 +0800
commit9d85d642b2c21d8c0491fd0a9712aff76aa7dc08 (patch)
tree5f833ee9f48ad3b527c27c8047fa6717efeef9b8 /widgets
parent238350ee212d14e29fbf849450039b2d6fea761d (diff)
downloadgsoc2013-evolution-9d85d642b2c21d8c0491fd0a9712aff76aa7dc08.tar
gsoc2013-evolution-9d85d642b2c21d8c0491fd0a9712aff76aa7dc08.tar.gz
gsoc2013-evolution-9d85d642b2c21d8c0491fd0a9712aff76aa7dc08.tar.bz2
gsoc2013-evolution-9d85d642b2c21d8c0491fd0a9712aff76aa7dc08.tar.lz
gsoc2013-evolution-9d85d642b2c21d8c0491fd0a9712aff76aa7dc08.tar.xz
gsoc2013-evolution-9d85d642b2c21d8c0491fd0a9712aff76aa7dc08.tar.zst
gsoc2013-evolution-9d85d642b2c21d8c0491fd0a9712aff76aa7dc08.zip
add new file for toggle cell a11y object. new a11y object toggle cell
2003-10-26 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/Makefile.am: add new file for toggle cell a11y object. * gal/a11y/e-table/gal-a11y-e-cell-toggle.c: new a11y object toggle cell (gal_a11y_e_cell_toggle_get_type), (gal_a11y_e_cell_toggle_class_init), (toggle_cell_action), the implementation of toggle cell action. (gal_a11y_e_cell_toggle_new): * gal/a11y/e-table/gal-a11y-e-cell-toggle.h: ditto * gal/a11y/e-table/gal-a11y-e-cell.c: (_gal_a11y_e_cell_get_action_info), (_gal_a11y_e_cell_destroy_action_info), (gal_a11y_e_cell_add_action), (gal_a11y_e_cell_remove_action), (gal_a11y_e_cell_remove_action_by_name), (gal_a11y_e_cell_action_get_n_actions), (gal_a11y_e_cell_action_get_name), (gal_a11y_e_cell_action_get_description), (gal_a11y_e_cell_action_set_description), (gal_a11y_e_cell_action_get_keybinding), (idle_do_action), (gal_a11y_e_cell_action_do_action), (gal_a11y_e_cell_atk_action_interface_init), (gal_a11y_e_cell_type_add_action_interface), (gal_a11y_e_cell_add_state): helper functions for add a action, stealed from gailcell.c * gal/a11y/e-table/gal-a11y-e-cell.h: * gal/e-table/e-cell-toggle.c: (e_cell_toggle_class_init): register toggle's a11y object. svn path=/trunk/; revision=23095
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-cell-toggle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/table/e-cell-toggle.c b/widgets/table/e-cell-toggle.c
index fbb68ac951..de113488e3 100644
--- a/widgets/table/e-cell-toggle.c
+++ b/widgets/table/e-cell-toggle.c
@@ -32,6 +32,7 @@
#include "gal/util/e-util.h"
#include "gal/widgets/e-hsv-utils.h"
#include "e-table-item.h"
+#include "gal/a11y/e-table/gal-a11y-e-cell-toggle.h"
#define PARENT_TYPE e_cell_get_type ()
@@ -414,6 +415,9 @@ e_cell_toggle_class_init (GtkObjectClass *object_class)
ecc->style_set = etog_style_set;
parent_class = g_type_class_ref (PARENT_TYPE);
+ gal_a11y_e_cell_registry_add_cell_type (NULL,
+ E_CELL_TOGGLE_TYPE,
+ gal_a11y_e_cell_toggle_new);
}
static void