From 0bde17579d338f3460e868e2369a83107622bbc6 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 24 Oct 2001 11:17:44 +0000 Subject: [PATCH] iconbar reloads now :) SVN revision: 5562 --- src/iconbar.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/iconbar.c b/src/iconbar.c index 4435464ad..9adaf7923 100644 --- a/src/iconbar.c +++ b/src/iconbar.c @@ -78,6 +78,16 @@ e_iconbar_new(E_View *v) /* use the config system to simply load up the db and start making */ /* structs and lists and stuff for us... we told it how to in init */ ib = e_config_load(buf, "", cf_iconbar); + /* flush image cache */ + { + int size; + + size = imlib_get_cache_size(); + imlib_set_cache_size(0); + imlib_set_cache_size(size); + } + /* flush edb cached handled */ + e_db_flush(); /* no iconbar config loaded ? return NULL */ if (!ib) return NULL;