Enlightenment CVS committal
Author : devilhorns
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_int_config_wallpaper.c
Log Message:
Remove some duplicated lines.
Fix an issue where trying to set to the theme wallpaper would not work from
desk preview.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_wallpaper.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- e_int_config_wallpaper.c 14 Nov 2006 05:39:26 -0000 1.24
+++ e_int_config_wallpaper.c 15 Nov 2006 09:46:43 -0000 1.25
@@ -113,9 +113,6 @@
e_fm2_path_set(cfdata->o_fm, path, "/");
if (cfdata->o_preview)
e_widget_preview_edje_set(cfdata->o_preview, cfdata->bg,
"e/desktop/background");
- if (cfdata->o_theme_bg)
- e_widget_check_checked_set(cfdata->o_theme_bg, 0);
- cfdata->use_theme_bg = 0;
if (cfdata->o_frame)
e_widget_change(cfdata->o_frame);
}
@@ -291,6 +288,8 @@
if (cfdata->use_theme_bg)
{
f = e_theme_edje_file_get("base/theme/backgrounds",
"e/desktop/background");
+ E_FREE(cfdata->bg);
+ cfdata->bg = strdup(f);
if (cfdata->o_preview)
e_widget_preview_edje_set(cfdata->o_preview, f,
"e/desktop/background");
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs