aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHao Sheng <hao.sheng@sun.com>2004-03-15 14:14:04 +0800
committerYuedong Du <york@src.gnome.org>2004-03-15 14:14:04 +0800
commit0d9c21aba16a78315034be6f74742cefe5340e9c (patch)
treedba22371d6bd0da5e2ee3a880278f4620abdbe04
parent8197e16f5d03e912bd9c65d45a76288e9462b45e (diff)
downloadgsoc2013-evolution-0d9c21aba16a78315034be6f74742cefe5340e9c.tar
gsoc2013-evolution-0d9c21aba16a78315034be6f74742cefe5340e9c.tar.gz
gsoc2013-evolution-0d9c21aba16a78315034be6f74742cefe5340e9c.tar.bz2
gsoc2013-evolution-0d9c21aba16a78315034be6f74742cefe5340e9c.tar.lz
gsoc2013-evolution-0d9c21aba16a78315034be6f74742cefe5340e9c.tar.xz
gsoc2013-evolution-0d9c21aba16a78315034be6f74742cefe5340e9c.tar.zst
gsoc2013-evolution-0d9c21aba16a78315034be6f74742cefe5340e9c.zip
build a11y/addressbook dir : add the accessibility support for
2004-03-15 Hao Sheng <hao.sheng@sun.com> * gui/component/Makefile.am : build a11y/addressbook dir * gui/widgets/e-addressbook-view.c : (eab_view_class_init) : add the accessibility support for e_addressbook_view * gui/widgets/e-minicard-view.c : (e_minicard_view_class_init) : add the accessibility support for e_minicard_view * gui/widgets/e-minicard.c : (e_minicard_class_init) : add the accessibility support for e_minicard svn path=/trunk/; revision=25059
-rw-r--r--addressbook/ChangeLog12
-rw-r--r--addressbook/gui/component/Makefile.am2
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c3
-rw-r--r--addressbook/gui/widgets/e-minicard-view.c3
-rw-r--r--addressbook/gui/widgets/e-minicard.c12
-rw-r--r--addressbook/gui/widgets/e-minicard.h8
6 files changed, 31 insertions, 9 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 340d5ccd03..f5339c55fb 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,15 @@
+2004-03-15 Hao Sheng <hao.sheng@sun.com>
+
+ * gui/component/Makefile.am : build a11y/addressbook dir
+ * gui/widgets/e-addressbook-view.c :
+ (eab_view_class_init) : add the accessibility support for
+ EAddressbookView
+ * gui/widgets/e-minicard-view.c :
+ (e_minicard_view_class_init) : add the accessibility support for
+ EMinicardView
+ * gui/widgets/e-minicard.c :
+ (e_minicard_class_init) : add the accessibility support for EMinicard
+
2004-03-10 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c (render_address): #if 0 this,
diff --git a/addressbook/gui/component/Makefile.am b/addressbook/gui/component/Makefile.am
index f9cf8b78fa..938385802f 100644
--- a/addressbook/gui/component/Makefile.am
+++ b/addressbook/gui/component/Makefile.am
@@ -12,6 +12,7 @@ INCLUDES = \
-I$(top_srcdir)/addressbook/gui/widgets \
-I$(top_srcdir)/addressbook/backend \
-I$(top_builddir)/addressbook/backend \
+ -I$(top_builddir)/a11y/addressbook \
-DEVOLUTION_DATADIR=\""$(datadir)"\" \
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
-DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\" \
@@ -57,6 +58,7 @@ libevolution_addressbook_la_LIBADD = \
$(top_builddir)/addressbook/gui/contact-list-editor/libecontactlisteditor.la \
$(top_builddir)/widgets/misc/libemiscwidgets.la \
$(top_builddir)/widgets/menus/libmenus.la \
+ $(top_builddir)/a11y/addressbook/libevolution-addressbook-a11y.la \
$(EVOLUTION_ADDRESSBOOK_LIBS) $(LDAP_LIBS)
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index a565f4a2e8..2521638cca 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -272,6 +272,9 @@ eab_view_class_init (EABViewClass *klass)
if (!clipboard_atom)
clipboard_atom = gdk_atom_intern ("CLIPBOARD", FALSE);
+
+ /* init the accessibility support for e_addressbook_view */
+ eab_view_a11y_init();
}
static void
diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c
index 3c588c9ef2..e2622d0de2 100644
--- a/addressbook/gui/widgets/e-minicard-view.c
+++ b/addressbook/gui/widgets/e-minicard-view.c
@@ -489,6 +489,9 @@ e_minicard_view_class_init (EMinicardViewClass *klass)
reflow_class->selection_event = e_minicard_view_selection_event;
/* GnomeCanvasItem method overrides */
+
+ /* init the accessibility support for e_minicard_view */
+ e_minicard_view_a11y_init();
}
static void
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c
index 259d2b12f0..7e831090a6 100644
--- a/addressbook/gui/widgets/e-minicard.c
+++ b/addressbook/gui/widgets/e-minicard.c
@@ -60,19 +60,10 @@ static gint e_minicard_drag_begin (EMinicard *minicard, GdkEvent *event);
static GnomeCanvasGroupClass *parent_class = NULL;
-typedef struct _EMinicardField EMinicardField;
-
-struct _EMinicardField {
- EContactField field;
- GnomeCanvasItem *label;
-};
-
#define d(x)
#define LIST_ICON_FILENAME "contact-list-16.png"
-#define E_MINICARD_FIELD(field) ((EMinicardField *)(field))
-
static void
e_minicard_field_destroy(EMinicardField *field)
{
@@ -225,6 +216,9 @@ e_minicard_class_init (EMinicardClass *klass)
item_class->event = e_minicard_event;
klass->selected = NULL;
+
+ /* init the accessibility support for e_minicard */
+ e_minicard_a11y_init();
}
static void
diff --git a/addressbook/gui/widgets/e-minicard.h b/addressbook/gui/widgets/e-minicard.h
index 2d0cfd8ed5..8fbb2b7a01 100644
--- a/addressbook/gui/widgets/e-minicard.h
+++ b/addressbook/gui/widgets/e-minicard.h
@@ -106,6 +106,14 @@ struct _EMinicardClass
void (* style_set) (EMinicard *minicard, GtkStyle *previous_style);
};
+typedef struct _EMinicardField EMinicardField;
+
+struct _EMinicardField {
+ EContactField field;
+ GnomeCanvasItem *label;
+};
+
+#define E_MINICARD_FIELD(field) ((EMinicardField *)(field))
GType e_minicard_get_type (void);
const char *e_minicard_get_card_id (EMinicard *minicard);