diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2011-07-08 03:03:00 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2011-07-08 03:03:00 +0200 |
commit | 5f78a771bfb0a7f334da952eeb9a8b4c049110be (patch) | |
tree | 8e7c8af2b887834aea9ad4afe7581207138f5093 /libindicator/indicator-object.c | |
parent | 8881229ab3af6dfd5a23f33357c0ef466aa7fd85 (diff) | |
parent | 352c01a8d42297be35392ac204f23bfd81fc0123 (diff) | |
download | libayatana-indicator-5f78a771bfb0a7f334da952eeb9a8b4c049110be.tar.gz libayatana-indicator-5f78a771bfb0a7f334da952eeb9a8b4c049110be.tar.bz2 libayatana-indicator-5f78a771bfb0a7f334da952eeb9a8b4c049110be.zip |
Merging with trunk
Diffstat (limited to 'libindicator/indicator-object.c')
-rw-r--r-- | libindicator/indicator-object.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c index a91251c..2fe8dd1 100644 --- a/libindicator/indicator-object.c +++ b/libindicator/indicator-object.c @@ -240,6 +240,7 @@ indicator_object_init (IndicatorObject *self) self->priv->entry.label = NULL; self->priv->entry.image = NULL; self->priv->entry.accessible_desc = NULL; + self->priv->entry.name_hint = NULL; self->priv->gotten_entries = FALSE; @@ -435,6 +436,10 @@ get_entries_default (IndicatorObject * io) g_warning("IndicatorObject class does not have an accessible description."); } + if (class->get_name_hint) { + priv->entry.name_hint = class->get_name_hint(io); + } + priv->gotten_entries = TRUE; } |