projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc126f5
)
a11y: proper ATK role for ClutterStage
author
Alejandro Piñeiro
<apinheiro@igalia.com>
Thu, 9 Feb 2012 11:32:44 +0000
(12:32 +0100)
committer
Alejandro Piñeiro
<apinheiro@igalia.com>
Wed, 15 Feb 2012 18:10:24 +0000
(19:10 +0100)
ATK_ROLE_CANVAS is not a suitable role, as the user (in general) can't
draw on the Stage. CallyStage implements AtkWindow, so the proper role
is ATK_ROLE_WINDOW
clutter/cally/cally-stage.c
patch
|
blob
|
history
diff --git
a/clutter/cally/cally-stage.c
b/clutter/cally/cally-stage.c
index
aff7dc0
..
62e637e
100644
(file)
--- a/
clutter/cally/cally-stage.c
+++ b/
clutter/cally/cally-stage.c
@@
-183,7
+183,7
@@
cally_stage_real_initialize (AtkObject *obj,
g_signal_connect (stage, "notify::key-focus",
G_CALLBACK (cally_stage_notify_key_focus_cb), obj);
-
obj->role = ATK_ROLE_CANVAS
;
+
atk_object_set_role (obj, ATK_ROLE_WINDOW)
;
}
static AtkStateSet*