Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : flame
Dir : e_modules/flame
Modified Files:
e_mod_main.h e_mod_main.c e_mod_config.c
Log Message:
If a module has a config dialogue, destroy it on module shutdown
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/flame/e_mod_main.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_mod_main.h 27 Dec 2005 21:18:56 -0000 1.6
+++ e_mod_main.h 6 Jan 2006 21:04:13 -0000 1.7
@@ -36,6 +36,7 @@
E_Config_DD *conf_edd;
Config *conf;
+ E_Config_Dialog *config_dialog;
};
struct _Flame_Face
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/flame/e_mod_main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_mod_main.c 30 Dec 2005 14:27:20 -0000 1.10
+++ e_mod_main.c 6 Jan 2006 21:04:13 -0000 1.11
@@ -68,6 +68,12 @@
e_object_del(E_OBJECT(m->config_menu));
m->config_menu = NULL;
}
+ if (f->config_dialog)
+ {
+ e_object_del(E_OBJECT(f->config_dialog));
+ f->config_dialog = NULL;
+ }
+
_flame_shutdown(f);
}
return 1;
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/flame/e_mod_config.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_config.c 27 Dec 2005 13:33:53 -0000 1.9
+++ e_mod_config.c 6 Jan 2006 21:04:14 -0000 1.10
@@ -39,6 +39,7 @@
v.advanced.create_widgets = _advanced_create_widgets;
cfd = e_config_dialog_new(con, _("Flame Configuration"), NULL, 0, &v, fl);
+ fl->config_dialog = cfd;
}
static void
@@ -160,7 +161,7 @@
ob = e_widget_label_add(evas, _("Red Amount"));
e_widget_framelist_object_append(of, ob);
- ob = e_widget_slider_add(evas, 1, 0, _("%1.0f"), 0, 300, 10, 0, NULL,
&(cfdata->r), 200);
+ ob = e_widget_slider_add(evas, 1, 0, _("%1.0f"), 300, 0, -10, 0, NULL,
&(cfdata->r), 200);
e_widget_framelist_object_append(of, ob);
ob = e_widget_label_add(evas, _("Blue Amount"));
-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs