diff options
author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2014-02-18 15:45:31 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-02-18 15:45:31 +0000 |
commit | 31d0819700a7b9d62fe3983891da3db3e19bcfab (patch) | |
tree | 6c5f5897464606e89dd81d61ba9f36d4264dac48 /libindicator/indicator-object.c | |
parent | a7660e548eb1d26071ee69c52938c9a3c0288318 (diff) | |
parent | 9affd1f62c4813c0b9e055f7ca5062cab7f46437 (diff) | |
download | libayatana-indicator-31d0819700a7b9d62fe3983891da3db3e19bcfab.tar.gz libayatana-indicator-31d0819700a7b9d62fe3983891da3db3e19bcfab.tar.bz2 libayatana-indicator-31d0819700a7b9d62fe3983891da3db3e19bcfab.zip |
IndicatorObject: add parent_window parameter to IndicatorEntry
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 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; } |