Add ATK_ROLE_LEVEL_BAR
authorMike Gorse <mgorse@suse.com>
Thu, 13 Dec 2012 23:32:17 +0000 (17:32 -0600)
committerMike Gorse <mgorse@suse.com>
Thu, 31 Jan 2013 16:44:20 +0000 (10:44 -0600)
Gtk now has a "level bar" widget, and we have no good atk role to
describe it.

https://bugzilla.gnome.org/show_bug.cgi?id=651343

atk/atkobject.h

index 0fa91be..83d77fd 100755 (executable)
@@ -152,6 +152,7 @@ G_BEGIN_DECLS
  *@ATK_ROLE_IMAGE_MAP: An image map object. Usually a graphic with multiple hotspots, where each hotspot can be activated resulting in the loading of another document or section of a document. @Since: ATK-2.1.0
  *@ATK_ROLE_NOTIFICATION: A transitory object designed to present a message to the user, typically at the desktop level rather than inside a particular application.  @Since: ATK-2.1.0
  *@ATK_ROLE_INFO_BAR: An object designed to present a message to the user within an existing window. @Since: ATK-2.1.0
+ *@ATK_ROLE_LEVEL_BAR: A bar that serves as a level indicator to, for instance, show the strength of a password or the state of a battery.  @Since: ATK-2.7.3
  *@ATK_ROLE_LAST_DEFINED: not a valid role, used for finding end of the enumeration
  * 
  * Describes the role of an object
@@ -263,6 +264,7 @@ typedef enum
   ATK_ROLE_IMAGE_MAP,
   ATK_ROLE_NOTIFICATION,
   ATK_ROLE_INFO_BAR,
+  ATK_ROLE_LEVEL_BAR,
   ATK_ROLE_LAST_DEFINED
 } AtkRole;