diff options
author | Ted Gould <ted@gould.cx> | 2012-01-13 15:01:01 +0100 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-01-13 15:01:01 +0100 |
commit | 2bb19db591c96af488d90ec184ea458230a2c471 (patch) | |
tree | 3804e7f06ee04336f288a87bef518dea4b1fea14 /libindicator | |
parent | 976209fbb36c9b09a59c8d51da80ae065cca8192 (diff) | |
download | libayatana-indicator-2bb19db591c96af488d90ec184ea458230a2c471.tar.gz libayatana-indicator-2bb19db591c96af488d90ec184ea458230a2c471.tar.bz2 libayatana-indicator-2bb19db591c96af488d90ec184ea458230a2c471.zip |
Adding an activate window function, that can also be virtual!
Diffstat (limited to 'libindicator')
-rw-r--r-- | libindicator/indicator-object.c | 8 | ||||
-rw-r--r-- | libindicator/indicator-object.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c index bd056f0..7cb75ae 100644 --- a/libindicator/indicator-object.c +++ b/libindicator/indicator-object.c @@ -538,6 +538,14 @@ indicator_object_get_show_now (IndicatorObject * io, IndicatorObjectEntry * entr return FALSE; } +void +indicator_object_entry_activate_window (IndicatorObject * io, IndicatorObjectEntry * entry, guint windowid, guint timestamp) +{ + + + return; +} + /** indicator_object_entry_activate: @io: #IndicatorObject to query diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h index 3a120f5..bbc215a 100644 --- a/libindicator/indicator-object.h +++ b/libindicator/indicator-object.h @@ -118,6 +118,7 @@ struct _IndicatorObjectClass { gboolean (*get_show_now) (IndicatorObject * io, IndicatorObjectEntry * entry); void (*entry_activate) (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp); + void (*entry_activate_window) (IndicatorObject * io, IndicatorObjectEntry * entry, guint windowid, guint timestamp); void (*entry_close) (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp); /* Signals */ @@ -184,6 +185,7 @@ GList * indicator_object_get_entries (IndicatorObject * io); guint indicator_object_get_location (IndicatorObject * io, IndicatorObjectEntry * entry); guint indicator_object_get_show_now (IndicatorObject * io, IndicatorObjectEntry * entry); void indicator_object_entry_activate (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp); +void indicator_object_entry_activate_window (IndicatorObject * io, IndicatorObjectEntry * entry, guint windowid, guint timestamp); void indicator_object_entry_close (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp); void indicator_object_set_environment (IndicatorObject * io, const GStrv env); |