aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-05 16:15:14 -0500
committerTed Gould <ted@gould.cx>2011-07-05 16:15:14 -0500
commit26c580fe6b0196d9bfb1eb136af7ae07eae017d8 (patch)
tree4af5d43c1060281c53ac679f8570af840dc5e7ba /libindicator
parent7797504facc6bb176c07b692abfbb7eadc76b5a6 (diff)
downloadlibayatana-indicator-26c580fe6b0196d9bfb1eb136af7ae07eae017d8.tar.gz
libayatana-indicator-26c580fe6b0196d9bfb1eb136af7ae07eae017d8.tar.bz2
libayatana-indicator-26c580fe6b0196d9bfb1eb136af7ae07eae017d8.zip
Adding a get name hint function as well.
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h
index be7d43e..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);