diff --git a/containment.cpp b/containment.cpp index 0a92db9f7..47f388d69 100644 --- a/containment.cpp +++ b/containment.cpp @@ -1269,6 +1269,8 @@ Context* ContainmentPrivate::context() { if (!con) { con = new Context(q); + q->connect(con, SIGNAL(changed(Plasma::Context*)), + q, SIGNAL(contextChanged(Plasma::Context*))); } return con; diff --git a/containment.h b/containment.h index 0e54aab6d..09a824740 100644 --- a/containment.h +++ b/containment.h @@ -373,6 +373,11 @@ class PLASMA_EXPORT Containment : public Applet */ void configureRequested(); + /** + * The activity associated to this containemnt has changed + */ + void contextChanged(Plasma::Context *context); + public Q_SLOTS: /** * Informs the Corona as to what position it is in. This is informational