On Sat, 7 Jan 2006 21:05:56 +0000 Andrew Williams <[EMAIL PROTECTED]> babbled:
> Erm - a can of worms??? what happens if you have 2 isntances of the dialog > open.... bad things (tm) :) (if 2 dialogs are open to configure the same thing... e will get quite confused and basically the dialog that hits apply/ok last wins - really u dont want multiple cfg dialogs up configuring the same thing. if they are configuring different objects (different gadget faces) then they are actually separate. :) > A > > On Fri, Jan 06, 2006 at 01:51:38PM -0800, > enlightenment-cvs@lists.sourceforge.net wrote: > > Enlightenment CVS committal > > > > Author : devilhorns > > Project : e_modules > > Module : mount > > > > Dir : e_modules/mount > > > > > > 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/mount/e_mod_main.h,v > > retrieving revision 1.3 > > retrieving revision 1.4 > > diff -u -3 -r1.3 -r1.4 > > --- e_mod_main.h 27 Dec 2005 21:23:39 -0000 1.3 > > +++ e_mod_main.h 6 Jan 2006 21:51:38 -0000 1.4 > > @@ -46,6 +46,7 @@ > > Config *conf; > > E_Config_DD *conf_edd; > > Evas_List *mntpoints; > > + E_Config_Dialog *config_dialog; > > }; > > > > struct _Mount_Box > > =================================================================== > > RCS file: /cvsroot/enlightenment/e_modules/mount/e_mod_main.c,v > > retrieving revision 1.5 > > retrieving revision 1.6 > > diff -u -3 -r1.5 -r1.6 > > --- e_mod_main.c 21 Dec 2005 20:19:47 -0000 1.5 > > +++ e_mod_main.c 6 Jan 2006 21:51:38 -0000 1.6 > > @@ -75,6 +75,11 @@ > > e_object_del(E_OBJECT(m->config_menu)); > > m->config_menu = NULL; > > } > > + if (mnt->config_dialog) > > + { > > + e_object_del(E_OBJECT(mnt->config_dialog)); > > + mnt->config_dialog = NULL; > > + } > > _mount_free(mnt); > > } > > return 1; > > =================================================================== > > RCS file: /cvsroot/enlightenment/e_modules/mount/e_mod_config.c,v > > retrieving revision 1.1 > > retrieving revision 1.2 > > diff -u -3 -r1.1 -r1.2 > > --- e_mod_config.c 18 Dec 2005 20:37:17 -0000 1.1 > > +++ e_mod_config.c 6 Jan 2006 21:51:38 -0000 1.2 > > @@ -40,6 +40,7 @@ > > v.advanced.create_widgets = _advanced_create_widgets; > > > > cfd = e_config_dialog_new(con, _("Mount Configuration"), NULL, 0, &v, > > m); > > + m->config_dialog = cfd; > > } > > > > static void > > > > > > > > > > ------------------------------------------------------- > > 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 > > enlightenment-cvs@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs > > > > > ------------------------------------------------------- > 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-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) ------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs