[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] E CVS: apps/e devilhorns



On Wed, 29 Nov 2006 15:40:27 -0500 (EST) Enlightenment CVS
<noreply@fitx-00.ewr.caosity.org> babbled:

any reason NOT to have multiple? as we may change multiple windows' properties?
the default config dialogs want only 1 as u are editing the same thing - here
we need to check if there is a dialog FOR that border already up - not 1 dialog
total :)

> Enlightenment CVS committal
> 
> Author  : devilhorns
> Project : e17
> Module  : apps/e
> 
> Dir     : e17/apps/e/src/bin
> 
> 
> Modified Files:
> 	e_int_config_borders.c 
> 
> 
> Log Message:
> Use the config dialog find functions to avoid having 2 border dialogs open
> for the same window.
> 
> ===================================================================
> RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_borders.c,v
> retrieving revision 1.6
> retrieving revision 1.7
> diff -u -3 -r1.6 -r1.7
> --- e_int_config_borders.c	29 Nov 2006 19:14:54 -0000	1.6
> +++ e_int_config_borders.c	29 Nov 2006 20:40:27 -0000	1.7
> @@ -22,7 +22,8 @@
>  {
>     E_Config_Dialog *cfd;
>     E_Config_Dialog_View *v;
> -   
> +
> +   if (e_config_dialog_find("E", "_config_border_style_dialog")) return NULL;
>     v = _config_view_new();
>     if (!v) return NULL;
>     cfd = e_config_dialog_new(con, _("Default Border Style"), 
> @@ -36,7 +37,8 @@
>  {
>     E_Config_Dialog *cfd;
>     E_Config_Dialog_View *v;
> -   
> +
> +   if (e_config_dialog_find("E", "_config_border_border_style_dialog"))
> return NULL; v = _config_view_new();
>     if (!v) return NULL;
>     cfd = e_config_dialog_new(bd->zone->container, 
> 
> 
> 
> -------------------------------------------------------------------------
> 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
> enlightenment-cvs@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com
裸好多
Tokyo, Japan (東京 日本)