[gtk+] Remove both SHOWING and SELECTED states when menuitem is not visible
- From: Li Yuan <liyuan src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+] Remove both SHOWING and SELECTED states when menuitem is not visible
- Date: Fri, 24 Jul 2009 08:29:57 +0000 (UTC)
commit ee876f94b145089baafbda05b05623b4c4de6ae7
Author: Li Yuan <li yuan sun com>
Date: Fri Jul 24 16:23:57 2009 +0800
Remove both SHOWING and SELECTED states when menuitem is not visible
Bug #582674 and Bug #574674. Remove SHOWING state also.
modules/other/gail/gailmenuitem.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/modules/other/gail/gailmenuitem.c b/modules/other/gail/gailmenuitem.c
index 173eace..3c238e7 100644
--- a/modules/other/gail/gailmenuitem.c
+++ b/modules/other/gail/gailmenuitem.c
@@ -258,6 +258,7 @@ gail_menu_item_ref_state_set (AtkObject *obj)
if (!atk_state_set_contains_state (parent_state_set, ATK_STATE_SELECTED))
{
atk_state_set_remove_state (state_set, ATK_STATE_FOCUSED);
+ atk_state_set_remove_state (state_set, ATK_STATE_SHOWING);
}
return state_set;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]