aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-object.h
diff options
context:
space:
mode:
authorLuke Yelavich <luke.yelavich@canonical.com>2011-01-18 16:50:37 +1100
committerLuke Yelavich <luke.yelavich@canonical.com>2011-01-18 16:50:37 +1100
commit9215e19e801f59a2abd4dd92563cfe50f366f635 (patch)
tree9b4230d2bdc7a7bb1e46e429db8289ce6e8df3fc /libindicator/indicator-object.h
parentab0f0abc3571f801ffff8c42ad87d1e53d6a8ccf (diff)
downloadlibayatana-indicator-9215e19e801f59a2abd4dd92563cfe50f366f635.tar.gz
libayatana-indicator-9215e19e801f59a2abd4dd92563cfe50f366f635.tar.bz2
libayatana-indicator-9215e19e801f59a2abd4dd92563cfe50f366f635.zip
Add accessible_name variable in indicator entry structure
Diffstat (limited to 'libindicator/indicator-object.h')
-rw-r--r--libindicator/indicator-object.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h
index 9ad1366..a2736d3 100644
--- a/libindicator/indicator-object.h
+++ b/libindicator/indicator-object.h
@@ -73,6 +73,7 @@ typedef struct _IndicatorObjectEntry IndicatorObjectEntry;
@get_menu: Gets the image for this object. Should be set
to #NULL if @get_entries is set. Should NOT ref the
object.
+ @get_accessible_name: Gets the accessible name for this object.
@get_entries: Gets all of the entires for this object returning
a #GList of #IndicatorObjectEntries. The list should be
under the ownership of the caller but the entires will
@@ -99,6 +100,7 @@ struct _IndicatorObjectClass {
GtkLabel * (*get_label) (IndicatorObject * io);
GtkImage * (*get_image) (IndicatorObject * io);
GtkMenu * (*get_menu) (IndicatorObject * io);
+ gchar * (*get_accessible_name) (IndicatorObject * io);
GList * (*get_entries) (IndicatorObject * io);
guint (*get_location) (IndicatorObject * io, IndicatorObjectEntry * entry);
@@ -140,11 +142,14 @@ struct _IndicatorObject {
@label: The label to be shown on the panel
@image: The image to be shown on the panel
@menu: The menu to be added to the menubar
+ @accessible_name: The accessible name of the
+ indicator
*/
struct _IndicatorObjectEntry {
GtkLabel * label;
GtkImage * image;
GtkMenu * menu;
+ gchar * accessible_name;
};
GType indicator_object_get_type (void);