Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : slideshow
Dir : e_modules/slideshow
Modified Files:
e_mod_config.c
Log Message:
Fix bug where changing a config value then selecting a different page
(Basic/Advanced) would reset the value to it's original state.
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/slideshow/e_mod_config.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- e_mod_config.c 1 Feb 2006 14:21:40 -0000 1.18
+++ e_mod_config.c 13 Feb 2006 16:05:40 -0000 1.19
@@ -62,9 +62,11 @@
_create_data(E_Config_Dialog *cfd)
{
E_Config_Dialog_Data *cfdata;
+ Slide *s;
+ s = cfd->data;
cfdata = E_NEW(E_Config_Dialog_Data, 1);
-
+ _fill_data(s, cfdata);
return cfdata;
}
@@ -84,10 +86,6 @@
E_Config_Dialog_Data *cfdata)
{
Evas_Object *o, *ob, *of;
- Slide *s;
-
- s = cfd->data;
- _fill_data(s, cfdata);
o = e_widget_list_add(evas, 0, 0);
of = e_widget_framelist_add(evas, D_("Cycle Time"), 0);
@@ -125,13 +123,9 @@
s->conf->disable_timer = cfdata->disable_timer;
#ifdef WANT_OSIRIS
if (cfdata->theme != NULL)
- {
- s->conf->theme = (char *)evas_stringshare_add(cfdata->theme);
- }
+ s->conf->theme = (char *)evas_stringshare_add(cfdata->theme);
else
- {
- s->conf->theme = (char *)evas_stringshare_add("");
- }
+ s->conf->theme = (char *)evas_stringshare_add("");
#endif
e_config_save_queue();
e_border_button_bindings_grab_all();
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs