react to changes of Plasma::Theme
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773942
This commit is contained in:
parent
c42f0593ba
commit
70b12916b2
@ -167,6 +167,8 @@ public:
|
||||
}
|
||||
}
|
||||
applet->setDrawStandardBackground(true);
|
||||
|
||||
connect(Plasma::Theme::self(), SIGNAL(changed()), applet, SLOT(themeChanged()));
|
||||
}
|
||||
|
||||
// put all setup routines for script here. at this point we can assume that
|
||||
@ -1387,6 +1389,11 @@ bool Applet::isContainment() const
|
||||
return d->isContainment;
|
||||
}
|
||||
|
||||
void Applet::themeChanged()
|
||||
{
|
||||
update();
|
||||
}
|
||||
|
||||
} // Plasma namespace
|
||||
|
||||
#include "applet.moc"
|
||||
|
Loading…
Reference in New Issue
Block a user