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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs