gnome-games r8638 - trunk/libgames-support
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8638 - trunk/libgames-support
- Date: Tue, 3 Feb 2009 14:39:29 +0000 (UTC)
Author: chpe
Date: Tue Feb 3 14:39:28 2009
New Revision: 8638
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8638&view=rev
Log:
Add atk relations between the frame's child and the frame's label when
adding the child.
Modified:
trunk/libgames-support/games-frame.c
Modified: trunk/libgames-support/games-frame.c
==============================================================================
--- trunk/libgames-support/games-frame.c (original)
+++ trunk/libgames-support/games-frame.c Tue Feb 3 14:39:28 2009
@@ -23,6 +23,10 @@
#include "games-frame.h"
+#ifndef HAVE_HILDON
+#include "games-atk-utils.h"
+#endif
+
enum {
PROP_0,
PROP_LABEL
@@ -71,6 +75,11 @@
GamesFrame *frame = GAMES_FRAME (container);
gtk_container_add (GTK_CONTAINER (frame->alignment), child);
+
+#ifndef HAVE_HILDON
+ games_atk_util_add_atk_relation (frame->label, child, ATK_RELATION_LABEL_FOR);
+ games_atk_util_add_atk_relation (child, frame->label, ATK_RELATION_LABELLED_BY);
+#endif
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]