aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-object.c
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2014-02-13 17:18:53 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2014-02-13 17:18:53 +0100
commit9affd1f62c4813c0b9e055f7ca5062cab7f46437 (patch)
tree579562d68426fbd70edcb6cd888e39524d3cb07f /libindicator/indicator-object.c
parent759fdd8e61a90a0c13ccd0d1f2665507fd7d00e7 (diff)
downloadlibayatana-indicator-9affd1f62c4813c0b9e055f7ca5062cab7f46437.tar.gz
libayatana-indicator-9affd1f62c4813c0b9e055f7ca5062cab7f46437.tar.bz2
libayatana-indicator-9affd1f62c4813c0b9e055f7ca5062cab7f46437.zip
IndicatorObject: add parent_window parameter to IndicatorEntry
Diffstat (limited to 'libindicator/indicator-object.c')
-rw-r--r--libindicator/indicator-object.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c
index 40f114e..0a1a04e 100644
--- a/libindicator/indicator-object.c
+++ b/libindicator/indicator-object.c
@@ -314,6 +314,7 @@ indicator_object_init (IndicatorObject *self)
priv->entry.image = NULL;
priv->entry.accessible_desc = NULL;
priv->entry.name_hint = NULL;
+ priv->entry.parent_window = 0;
priv->gotten_entries = FALSE;
priv->default_visibility = TRUE;
@@ -527,6 +528,10 @@ get_entries_default (IndicatorObject * io)
priv->entry.name_hint = class->get_name_hint(io);
}
+ if (class->get_parent_window) {
+ priv->entry.parent_window = class->get_parent_window(io);
+ }
+
priv->gotten_entries = TRUE;
}