discomfitor pushed a commit to branch enlightenment-0.18.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=7484838fdc48b4b90463618807cd6387fb368ffd

commit 7484838fdc48b4b90463618807cd6387fb368ffd
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Dec 26 17:58:36 2013 -0500

    bugfix: use the right directory for user themes
---
 src/modules/conf_theme/e_int_config_theme.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/modules/conf_theme/e_int_config_theme.c 
b/src/modules/conf_theme/e_int_config_theme.c
index 6e351a4..56c1dc1 100644
--- a/src/modules/conf_theme/e_int_config_theme.c
+++ b/src/modules/conf_theme/e_int_config_theme.c
@@ -327,19 +327,16 @@ void
 e_int_config_theme_update(E_Config_Dialog *dia, char *file)
 {
    E_Config_Dialog_Data *cfdata;
-   char path[4096];
 
    cfdata = dia->cfdata;
 
    cfdata->fmdir = 1;
    e_widget_radio_toggle_set(cfdata->o_personal, 1);
 
-   e_user_homedir_concat_static(path, "themes");
-   eina_stringshare_del(cfdata->theme);
-   cfdata->theme = eina_stringshare_add(file);
+   eina_stringshare_replace(&cfdata->theme, file);
 
    if (cfdata->o_fm)
-     e_widget_flist_path_set(cfdata->o_fm, path, "/");
+     e_widget_flist_path_set(cfdata->o_fm, elm_theme_user_dir_get(), "/");
 
    if (cfdata->o_preview)
      _e_int_theme_preview_set(cfdata->o_preview, cfdata->theme);

-- 


Reply via email to