Enlightenment CVS committal
Author : xcomputerman
Project : e17
Module : apps/entrance
Dir : e17/apps/entrance/src/client
Modified Files:
entrance_config.c
Log Message:
Use boring default if no config for date/time strings - appeasement for our
non-Englisch-speaking friends
===================================================================
RCS file:
/cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_config.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- entrance_config.c 20 Dec 2004 03:07:05 -0000 1.26
+++ entrance_config.c 27 Dec 2004 04:11:31 -0000 1.27
@@ -67,15 +67,20 @@
e->after.string = str;
else
e->after.string = strdup("");
+
+ /* Use a boring default if there's no config for date/time */
if ((str = e_db_str_get(db, "/entrance/date_format")))
e->date.string = str;
else
- e->date.string = strdup("%A %B %e, %Y");
+ /* e->date.string = strdup("%A %B %e, %Y"); */
+ e->date.string = strdup("%x");
if ((str = e_db_str_get(db, "/entrance/time_format")))
e->time.string = str;
else
- e->time.string = strdup("%l:%M:%S %p");
+ /* e->time.string = strdup("%l:%M:%S %p"); */
+ e->time.string = strdup("%X");
+
if (e_db_int_get(db, "/entrance/autologin/mode", &e->autologin.mode))
{
if (e->autologin.mode > 0)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs