* atk-bridge.c: (atk_bridge_init): Create accessible application
root object so that it is present when a context menu in an
out-of-process applet is popped up.
(spi_atk_bridge_do_registration): Create acceessible application root
object only if it does not exist.
This fixes bug #125834.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@566
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
+2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
+
+ * atk-bridge.c: (atk_bridge_init): Create accessible application
+ root object so that it is present when a context menu in an
+ out-of-process applet is popped up.
+ (spi_atk_bridge_do_registration): Create acceessible application root
+ object only if it does not exist.
+
+ This fixes bug #125834.
+
2003-12-01 Bill Haneman <billh@gnome.org>
Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
g_error ("Could not initialize Bonobo");
}
+ /* Create the accessible application server object */
+ this_app = spi_application_new (atk_get_root ());
/*
* We only want to enable the bridge for top level
* applications, we detect bonobo components by seeing
bonobo_activate ();
/* Create the accessible application server object */
-
- this_app = spi_application_new (atk_get_root ());
+ if (this_app == NULL)
+ this_app = spi_application_new (atk_get_root ());
DBG (1, g_message ("About to register application\n"));