[g-a-devel]Re: libgail-gnome libgnome hooks patch ...
- From: Bill Haneman <Bill Haneman sun com>
- To: bill haneman sun com, michael ximian com
- Cc: gnome-accessibility-devel gnome org
- Subject: [g-a-devel]Re: libgail-gnome libgnome hooks patch ...
- Date: Wed, 13 Mar 2002 15:20:08 +0000 (GMT)
>Hi Bill,
>
> So with this bonobo apps also initialize and run nicely with the
>accessibility code enabled:
>
> May I commit ?
Yes please :-) - thanks!
-Bill
> Michael.
>
>Index: ChangeLog
>===================================================================
>RCS file: /cvs/gnome/libgail-gnome/ChangeLog,v
>retrieving revision 1.10
>diff -u -p -u -r1.10 ChangeLog
>--- ChangeLog 28 Jan 2002 19:25:17 -0000 1.10
>+++ ChangeLog 13 Mar 2002 15:13:20 -0000
>@@ -1,3 +1,9 @@
>+2002-03-13 Michael Meeks <michael ximian com>
>+
>+ * gail-gnome/bonobo-accessibility-init.c
>+ (gnome_accessibility_module_init): impl.
>+ (gnome_accessibility_module_shutdown): impl.
>+
> 2002-01-28 Bill Haneman <bill haneman sun com>
>
> * configure.in:
>Index: gail-gnome/bonobo-accessibility-init.c
>===================================================================
>RCS file:
/cvs/gnome/libgail-gnome/gail-gnome/bonobo-accessibility-init.c,v
>retrieving revision 1.4
>diff -u -p -u -r1.4 bonobo-accessibility-init.c
>--- gail-gnome/bonobo-accessibility-init.c 23 Jan 2002 16:27:17
-0000 1.4
>+++ gail-gnome/bonobo-accessibility-init.c 13 Mar 2002 15:13:21
-0000
>@@ -17,6 +17,7 @@
> * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> * Boston, MA 02111-1307, USA.
> */
>+#include <stdio.h>
> #include <glib-object.h>
> #include <atk/atk.h>
> #include <bonobo/bonobo-plug.h>
>@@ -30,6 +31,10 @@
> #include "bonobo_socket_atk_object_factory.h"
> #include "gail-gnome-debug.h"
>
>+/* For automatic libgnome init */
>+extern void gnome_accessibility_module_init (void);
>+extern void gnome_accessibility_module_shutdown (void);
>+
> static BonoboControlClass *bonobo_control_class;
> static BonoboControlFrameClass *bonobo_control_frame_class;
>
>@@ -111,4 +116,17 @@ gtk_module_init(gint *argc, char** argv[
> gail_accessibility_init ();
>
> return 0;
>+}
>+
>+void
>+gnome_accessibility_module_init (void)
>+{
>+ fprintf (stderr, "Bonobo accessibility support initialized\n");
>+ gail_accessibility_init ();
>+}
>+
>+void
>+gnome_accessibility_module_shutdown (void)
>+{
>+ dprintf ("BonoboUI Accessibility Module shutdown\n");
> }
>
>--
> mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
>
------
Bill Haneman x19279
Gnome Accessibility / Batik SVG Toolkit
Sun Microsystems Ireland
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]