summaryrefslogtreecommitdiff
path: root/decorations
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2016-02-17 14:17:09 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2016-02-17 14:17:09 +0100
commit808ae8457c2fbe6839e6553b45700add999cf7e2 (patch)
treeec9a58f273cb202df73b16e36ea857d39bf1c9f0 /decorations
parent06c29fc98a821afd7f35872864fdcbbb0c1c0fc3 (diff)
DecorationsMenuDropdown: rebuild texture on icon theme change
(bzr r4068.4.27)
Diffstat (limited to 'decorations')
-rw-r--r--decorations/DecorationsMenuDropdown.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/decorations/DecorationsMenuDropdown.cpp b/decorations/DecorationsMenuDropdown.cpp
index 1beb3d51b..084c470ec 100644
--- a/decorations/DecorationsMenuDropdown.cpp
+++ b/decorations/DecorationsMenuDropdown.cpp
@@ -19,6 +19,7 @@
#include "DecorationsMenuDropdown.h"
#include "DecorationStyle.h"
+#include "unity-shared/ThemeSettings.h"
namespace unity
{
@@ -39,6 +40,7 @@ MenuDropdown::MenuDropdown(Indicators::Ptr const& indicators, CompWindow* win)
natural_.width = ICON_SIZE;
natural_.height = ICON_SIZE;
entry_->set_image(1, ICON_NAME, true, true);
+ theme::Settings::Get()->icons_changed.connect(sigc::mem_fun(this, &MenuDropdown::RenderTexture));
}
void MenuDropdown::ShowMenu(unsigned button)