From 0c3015a7b4cefd564ea351d8909c2240112437f1 Mon Sep 17 00:00:00 2001 From: marcm Date: Fri, 15 Mar 2002 01:26:19 +0000 Subject: [PATCH] 2001-03-14 Marc Mulcahy * registryd/desktop.c: emit the "children-changed::add" and "children-changed::remove" signals on the backing ATK object for the desktop so AT can tell when applications are started and shut down. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@256 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- ChangeLog | 9 ++++++++- registryd/desktop.c | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9851100..d1952c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,11 @@ -2002-03-14 Marc Mulcahy +2001-03-14 Marc Mulcahy + + * registryd/desktop.c: emit the "children-changed::add" and + "children-changed::remove" signals on the backing ATK object for + the desktop so AT can tell when applications are started and shut + down. + + 2002-03-14 Marc Mulcahy * cspi/spi_accessible.c: Made role names freeable with SPI_freeString () diff --git a/registryd/desktop.c b/registryd/desktop.c index 70da90d..e3ed7de 100644 --- a/registryd/desktop.c +++ b/registryd/desktop.c @@ -166,6 +166,7 @@ spi_desktop_add_application (SpiDesktop *desktop, desktop->applications = g_list_append (desktop->applications, app); ORBit_small_listen_for_broken (app->ref, G_CALLBACK (abnormal_application_termination), app); + g_signal_emit_by_name (SPI_BASE(desktop)->gobj, "children_changed::add", g_list_index (desktop->applications, app), NULL); } CORBA_exception_free (&ev); @@ -198,6 +199,7 @@ spi_desktop_remove_application (SpiDesktop *desktop, { Application *app = (Application *) l->data; + g_signal_emit_by_name (SPI_BASE(desktop)->gobj, "children_changed::remove", g_list_index (desktop->applications, l), NULL); desktop->applications = g_list_delete_link (desktop->applications, l); ORBit_small_unlisten_for_broken (app->ref, G_CALLBACK (abnormal_application_termination)); -- 2.7.4