AccessibleRole_getName(). Fixes bug #95055.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@350
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
+2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
+
+ * cspi/spi-accessible.c: Correct names of roles returned by
+ AccessibleRole_getName(). Fixes bug #95055.
+
2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
* cspi/spi_main.c (report_leaked_ref): Report address of leaked
2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
* cspi/spi_main.c (report_leaked_ref): Report address of leaked
static const char *role_names [] =
{
static const char *role_names [] =
{
- "<invalid>",
- "accelerator label",
+ "invalid",
+ "accel-label",
"alert",
"animation",
"arrow",
"calendar",
"canvas",
"alert",
"animation",
"arrow",
"calendar",
"canvas",
- "check box",
- "check menu item",
- "color chooser",
- "column header",
- "combo box",
- "date editor",
- "desktop icon",
- "desktop frame",
+ "check-box",
+ "check-menu-item",
+ "color-chooser",
+ "column-header",
+ "combo-box",
+ "date-editor",
+ "desktop-icon",
+ "desktop-frame",
- "directory pane",
- "drawing area",
- "file chooser",
+ "directory-pane",
+ "drawing-area",
+ "file-chooser",
- "glass pane",
- "HTML container",
+ "glass-pane",
+ "html-container",
- "menubar",
- "menu item",
- "option pane",
- "page tab",
- "page tab list",
+ "menu-bar",
+ "menu-item",
+ "option-pane",
+ "page-tab",
+ "page-tab-list",
- "password text",
- "popup menu",
- "progress bar",
- "pushbutton",
- "radiobutton",
- "radio menu item",
- "root pane",
- "row header",
- "scrollbar",
- "scrollpane",
+ "password-text",
+ "popup-menu",
+ "progress-bar",
+ "push-button",
+ "radio-button",
+ "radio-menu-item",
+ "root-pane",
+ "row-header",
+ "scroll-bar",
+ "scroll-pane",
- "spin button",
- "split pane",
- "status bar",
+ "spin-button",
+ "split-pane",
+ "statusbar",
- "table cell",
- "table column header",
- "table row header",
- "tearoff menu item",
+ "table-cell",
+ "table-column-header",
+ "table-row-header",
+ "tear-off-menu-item",
- "toggle button",
- "toolbar",
- "tooltip",
+ "toggle-button",
+ "tool-bar",
+ "tool-tip",
- "tree table",
- "<unknown>",
+ "tree-table",
+ "unknown",