diff options
author | Ted Gould <ted@gould.cx> | 2010-09-16 15:56:50 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-09-16 15:56:50 -0500 |
commit | 90b4c191ef8eb28244ea405669a3671f0e5060c5 (patch) | |
tree | 1534e2d8f62f68919f92ff7b77cad8b7d6558bd1 /libindicator | |
parent | bc8ba95828914624a74299957a58b36bbf769e5a (diff) | |
download | libayatana-indicator-90b4c191ef8eb28244ea405669a3671f0e5060c5.tar.gz libayatana-indicator-90b4c191ef8eb28244ea405669a3671f0e5060c5.tar.bz2 libayatana-indicator-90b4c191ef8eb28244ea405669a3671f0e5060c5.zip |
Adding a function to push activate back down.
Diffstat (limited to 'libindicator')
-rw-r--r-- | libindicator/indicator-object.c | 19 | ||||
-rw-r--r-- | libindicator/indicator-object.h | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c index a5fd740..63eed05 100644 --- a/libindicator/indicator-object.c +++ b/libindicator/indicator-object.c @@ -432,3 +432,22 @@ indicator_object_get_location (IndicatorObject * io, IndicatorObjectEntry * entr return 0; } + +/** + indicator_object_entry_activate: + @io: #IndicatorObject to query + @entry: The #IndicatorObjectEntry whose entry was shown + + Used to signal to the indicator that the menu on an entry has + been clicked on. This can either be an activate or a showing + of the menu. Note, this does not actually show the menu that's + left up to the reader. +*/ +void +indicator_object_entry_activate (IndicatorObject * io, IndicatorObjectEntry * entry) +{ + + + + return; +} diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h index 32a35f9..8714093 100644 --- a/libindicator/indicator-object.h +++ b/libindicator/indicator-object.h @@ -132,6 +132,7 @@ IndicatorObject * indicator_object_new_from_file (const gchar * file); GList * indicator_object_get_entries (IndicatorObject * io); guint indicator_object_get_location (IndicatorObject * io, IndicatorObjectEntry * entry); +void indicator_object_entry_activate (IndicatorObject * io, IndicatorObjectEntry * entry); G_END_DECLS |