Enlightenment CVS committal
Author : davemds
Project : e_modules
Module : bling
Dir : e_modules/bling
Modified Files:
e_mod_config.c e_mod_main.c
Log Message:
* save config value
* remove configuration panel entry on exit
===================================================================
RCS file: /cvs/e/e_modules/bling/e_mod_config.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_mod_config.c 24 Dec 2007 18:49:29 -0000 1.10
+++ e_mod_config.c 24 Dec 2007 21:43:07 -0000 1.11
@@ -51,7 +51,7 @@
v->advanced.create_widgets = _advanced_create_widgets;
snprintf(buf, sizeof(buf), "%s/module.edj", e_module_dir_get(b->module));
- cfd = e_config_dialog_new(con, "BlingConfiguration",
+ cfd = e_config_dialog_new(con, "Bling Configuration",
"Bling", "_e_modules_bling_config_dialog", buf,
0, v, b);
b->config_dialog = cfd;
@@ -125,6 +125,7 @@
b->config->fx_fade_enable = cfdata->fade_enable;
b->config->fx_fade_opacity_enable = cfdata->fade_opacity;
+ e_config_save_queue();
/* Reload composite manager! */
return 1;
}
@@ -209,7 +210,9 @@
b->config->fx_fade_opacity_enable = cfdata->fade_opacity;
b->config->fx_fade_in_step = cfdata->fade_in_step/100.0;
b->config->fx_fade_out_step = cfdata->fade_out_step/100.0;
-
+
+ e_config_save_queue();
+
/* reload comp manager! */
return 1;
}
===================================================================
RCS file: /cvs/e/e_modules/bling/e_mod_main.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_mod_main.c 24 Dec 2007 20:09:11 -0000 1.13
+++ e_mod_main.c 24 Dec 2007 21:43:07 -0000 1.14
@@ -46,6 +46,9 @@
{
Bling *b;
+ e_configure_registry_item_del("appearance/bling");
+ e_configure_registry_category_del("appearance");
+
b = m->data;
if (b)
{
@@ -156,6 +159,7 @@
E_CONFIG_VAL(D, T, fx_fade_out_step, DOUBLE);
b->config = e_config_domain_load("module.bling", b->conf_edd);
+
if (!b->config)
{
b->config = E_NEW(Config, 1);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs