summaryrefslogtreecommitdiff
path: root/src/pies/pieManager.vala
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2012-01-24 09:42:25 +0100
committerAlessandro Ghedini <al3xbio@gmail.com>2012-01-24 09:42:25 +0100
commit21c8b0c749be00fff27e41e4c2d677dd7d320fa0 (patch)
treee439b4de4a50a1bb656762f6e7a79a39431dd526 /src/pies/pieManager.vala
parent60560a030fda3c539ff9dc1563b9926414a193da (diff)
Imported Upstream version 0.4.1upstream/0.4.1
Diffstat (limited to 'src/pies/pieManager.vala')
-rw-r--r--src/pies/pieManager.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pies/pieManager.vala b/src/pies/pieManager.vala
index 0263d23..162a61f 100644
--- a/src/pies/pieManager.vala
+++ b/src/pies/pieManager.vala
@@ -88,6 +88,10 @@ public class PieManager : GLib.Object {
window.on_closed.connect(() => {
opened_windows.remove(window);
+ if (opened_windows.size == 0) {
+ ThemedIcon.clear_cache();
+ Icon.clear_cache();
+ }
});
window.on_closing.connect(() => {