summaryrefslogtreecommitdiff
path: root/lockscreen
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2016-03-31 07:57:11 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2016-03-31 07:57:11 +0200
commit3f9213dc3239e44ef2cf32d3ef959dcdd023522d (patch)
tree8c0c59e7c138be5b1191b30771da18f7d848d13c /lockscreen
parentdb418a2e5d5972b675c884df761d07863d5dcc3c (diff)
Launcher, Panel, TextInput: use cache texture_invalidated to reload textures
So we can remove we workaround in UnitySettings as the signal is always emitted after removing all the themed textures that we have. (bzr r4093.2.28)
Diffstat (limited to 'lockscreen')
-rw-r--r--lockscreen/KylinUserPromptView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lockscreen/KylinUserPromptView.cpp b/lockscreen/KylinUserPromptView.cpp
index 81b2f025a..138287c3b 100644
--- a/lockscreen/KylinUserPromptView.cpp
+++ b/lockscreen/KylinUserPromptView.cpp
@@ -120,6 +120,7 @@ KylinUserPromptView::KylinUserPromptView(session::Manager::Ptr const& session_ma
UpdateSize();
ResetLayout();
+ TextureCache::GetDefault().themed_invalidated.connect(sigc::mem_fun(this, &KylinUserPromptView::ResetLayout));
user_authenticator_.AuthenticateStart(session_manager_->UserName(),
sigc::mem_fun(this, &KylinUserPromptView::AuthenticationCb));
}