aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-13 15:01:01 +0100
committerTed Gould <ted@gould.cx>2012-01-13 15:01:01 +0100
commit2bb19db591c96af488d90ec184ea458230a2c471 (patch)
tree3804e7f06ee04336f288a87bef518dea4b1fea14
parent976209fbb36c9b09a59c8d51da80ae065cca8192 (diff)
downloadlibayatana-indicator-2bb19db591c96af488d90ec184ea458230a2c471.tar.gz
libayatana-indicator-2bb19db591c96af488d90ec184ea458230a2c471.tar.bz2
libayatana-indicator-2bb19db591c96af488d90ec184ea458230a2c471.zip
Adding an activate window function, that can also be virtual!
-rw-r--r--libindicator/indicator-object.c8
-rw-r--r--libindicator/indicator-object.h2
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);