Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h config.c theme.c 


Log Message:
Allow disabling theme localisation.

===================================================================
RCS file: /cvs/e/e16/e/src/E.h,v
retrieving revision 1.570
retrieving revision 1.571
diff -u -3 -r1.570 -r1.571
--- E.h 19 Nov 2006 21:55:50 -0000      1.570
+++ E.h 27 Nov 2006 20:01:05 -0000      1.571
@@ -374,6 +374,7 @@
    } startup;
    struct
    {
+      char                localise;
       char               *name;
       char               *extra_path;
       char               *ttfont_path;
===================================================================
RCS file: /cvs/e/e16/e/src/config.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -3 -r1.151 -r1.152
--- config.c    19 Nov 2006 21:55:51 -0000      1.151
+++ config.c    27 Nov 2006 20:01:05 -0000      1.152
@@ -462,7 +462,7 @@
    char               *fullname, *file, *ppfile;
    int                 i, err;
 
-   fullname = FindFile(name, themepath, 1);
+   fullname = FindFile(name, themepath, Conf.theme.localise);
    if (!fullname)
       return NULL;
 
===================================================================
RCS file: /cvs/e/e16/e/src/theme.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -3 -r1.58 -r1.59
--- theme.c     24 Jul 2006 21:10:59 -0000      1.58
+++ theme.c     27 Nov 2006 20:01:05 -0000      1.59
@@ -499,6 +499,7 @@
 #define N_IPC_FUNCS (sizeof(ThemeIpcArray)/sizeof(IpcItem))
 
 static const CfgItem ThemeCfgItems[] = {
+   CFG_ITEM_BOOL(Conf.theme, localise, 1),
    CFG_ITEM_STR(Conf.theme, name),
    CFG_ITEM_STR(Conf.theme, extra_path),
    CFG_ITEM_STR(Conf.theme, ttfont_path),



-------------------------------------------------------------------------
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

Reply via email to