Enlightenment CVS committal
Author : devilhorns
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_int_config_apps.c
Log Message:
Add missing checks for existing Restart/Startup/IBar application dialogs.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_apps.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- e_int_config_apps.c 2 Dec 2006 00:19:43 -0000 1.51
+++ e_int_config_apps.c 2 Dec 2006 00:31:11 -0000 1.52
@@ -97,7 +97,8 @@
e_int_config_apps_ibar(E_Container *con)
{
char path[4096];
-
+
+ if (e_config_dialog_find("E", "_config_applications_dialog")) return NULL;
snprintf(path, sizeof(path), "%s/.e/e/applications/bar",
e_user_homedir_get());
return e_int_config_apps_once(con, _("IBar"), NULL, path, NULL, NULL);
}
@@ -106,7 +107,8 @@
e_int_config_apps_restart(E_Container *con)
{
char path[4096];
-
+
+ if (e_config_dialog_find("E", "_config_applications_dialog")) return NULL;
snprintf(path, sizeof(path), "%s/.e/e/applications/restart",
e_user_homedir_get());
return e_int_config_apps_once(con, _("Restart"), NULL, path, NULL, NULL);
}
@@ -115,7 +117,8 @@
e_int_config_apps_startup(E_Container *con)
{
char path[4096];
-
+
+ if (e_config_dialog_find("E", "_config_applications_dialog")) return NULL;
snprintf(path, sizeof(path), "%s/.e/e/applications/startup",
e_user_homedir_get());
return e_int_config_apps_once(con, _("Startup"), NULL, path, NULL, NULL);
}
-------------------------------------------------------------------------
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