From fc547459dd28362dee77eddb3420f888d9455584 Mon Sep 17 00:00:00 2001 From: raster Date: Mon, 5 Mar 2012 12:39:22 +0000 Subject: [PATCH] make theme setting work again :) git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68707 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_theme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_theme.c b/src/lib/elm_theme.c index d660d64..3323a1e 100644 --- a/src/lib/elm_theme.c +++ b/src/lib/elm_theme.c @@ -475,6 +475,8 @@ elm_theme_set(Elm_Theme *th, const char *theme) th->theme = NULL; } elm_theme_flush(th); + if (th == &(theme_default)) + eina_stringshare_replace(&_elm_config->theme, theme); } EAPI const char * @@ -597,7 +599,6 @@ elm_theme_full_flush(void) EINA_DEPRECATED EAPI void elm_theme_all_set(const char *theme) { - eina_stringshare_replace(&_elm_config->theme, theme); elm_theme_set(NULL, theme); elm_config_all_flush(); } -- 2.7.4