diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-01-29 15:19:22 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-01-29 15:19:22 +0000 |
commit | b53f76259f3ca01ded7053cd35291ba9b18a8d67 (patch) | |
tree | 458012d60df6f2bd4b5a89641b9aacbe3072a4a2 /vcl/unx/gtk/a11y/atklistener.cxx | |
parent | d244ed210bed17c4e46b19c41f844b23a161483b (diff) |
INTEGRATION: CWS vcl85_SRC680 (1.6.42); FILE MERGED
2007/12/04 20:47:13 obr 1.6.42.1: #i78117# multiple wrappers for root pane created
Diffstat (limited to 'vcl/unx/gtk/a11y/atklistener.cxx')
-rw-r--r-- | vcl/unx/gtk/a11y/atklistener.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/unx/gtk/a11y/atklistener.cxx b/vcl/unx/gtk/a11y/atklistener.cxx index 04f6cd1453bf..0fddb87fafb6 100644 --- a/vcl/unx/gtk/a11y/atklistener.cxx +++ b/vcl/unx/gtk/a11y/atklistener.cxx @@ -4,9 +4,9 @@ * * $RCSfile: atklistener.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2007-11-01 13:02:12 $ + * last change: $Author: rt $ $Date: 2008-01-29 16:19:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -140,6 +140,7 @@ void AtkListener::handleChildAdded( if( pChild ) { + atk_object_set_parent( pChild, mpAccessible ); updateChildList(rxParent.get()); g_signal_emit_by_name( mpAccessible, "children_changed::add", atk_object_get_index_in_parent( pChild ), pChild, NULL ); @@ -181,6 +182,7 @@ void AtkListener::handleChildRemoved( AtkObject * pChild = atk_object_wrapper_ref( rxChild, false ); if( pChild ) { + atk_object_set_parent( pChild, atk_get_root() ); g_signal_emit_by_name( mpAccessible, "children_changed::remove", nIndex, pChild, NULL ); g_object_unref( pChild ); } @@ -201,6 +203,7 @@ void AtkListener::handleInvalidateChildren( AtkObject * pChild = atk_object_wrapper_ref( m_aChildList[n], false ); if( pChild ) { + atk_object_set_parent( pChild, atk_get_root() ); g_signal_emit_by_name( mpAccessible, "children_changed::remove", n, pChild, NULL ); g_object_unref( pChild ); } @@ -219,6 +222,7 @@ void AtkListener::handleInvalidateChildren( if( pChild ) { + atk_object_set_parent( pChild, mpAccessible ); g_signal_emit_by_name( mpAccessible, "children_changed::add", n, pChild, NULL ); g_object_unref( pChild ); } |