aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-object.h
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-08 03:03:00 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2011-07-08 03:03:00 +0200
commit5f78a771bfb0a7f334da952eeb9a8b4c049110be (patch)
tree8e7c8af2b887834aea9ad4afe7581207138f5093 /libindicator/indicator-object.h
parent8881229ab3af6dfd5a23f33357c0ef466aa7fd85 (diff)
parent352c01a8d42297be35392ac204f23bfd81fc0123 (diff)
downloadlibayatana-indicator-5f78a771bfb0a7f334da952eeb9a8b4c049110be.tar.gz
libayatana-indicator-5f78a771bfb0a7f334da952eeb9a8b4c049110be.tar.bz2
libayatana-indicator-5f78a771bfb0a7f334da952eeb9a8b4c049110be.zip
Merging with trunk
Diffstat (limited to 'libindicator/indicator-object.h')
-rw-r--r--libindicator/indicator-object.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h
index 5faeff5..a285949 100644
--- a/libindicator/indicator-object.h
+++ b/libindicator/indicator-object.h
@@ -77,6 +77,8 @@ typedef struct _IndicatorObjectEntry IndicatorObjectEntry;
object.
@get_accessible_desc: Gets the accessible descriptionfor this
object.
+ @get_name_hint: Gets the hint of the type of indicator that this
+ is for the caller.
@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
@@ -106,6 +108,7 @@ struct _IndicatorObjectClass {
GtkImage * (*get_image) (IndicatorObject * io);
GtkMenu * (*get_menu) (IndicatorObject * io);
const gchar * (*get_accessible_desc) (IndicatorObject * io);
+ const gchar * (*get_name_hint) (IndicatorObject * io);
GList * (*get_entries) (IndicatorObject * io);
guint (*get_location) (IndicatorObject * io, IndicatorObjectEntry * entry);
@@ -150,6 +153,8 @@ struct _IndicatorObject {
@menu: The menu to be added to the menubar
@accessible_desc: The accessible description
of the indicator
+ @name_hint: A name to describe the indicator being placed to allow
+ the caller to be more aware of the individual entries.
@reserved1: Reserved for future use
@reserved2: Reserved for future use
@@ -161,6 +166,7 @@ struct _IndicatorObjectEntry {
GtkImage * image;
GtkMenu * menu;
const gchar * accessible_desc;
+ const gchar * name_hint;
void (*reserved1) (void);
void (*reserved2) (void);