Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        config.c menus.c menus.h 


Log Message:
Reenable having menu definitions in theme (hmm.. why did I take this out?).
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/config.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -3 -r1.145 -r1.146
--- config.c    18 Feb 2006 08:30:06 -0000      1.145
+++ config.c    20 Feb 2006 18:20:29 -0000      1.146
@@ -323,6 +323,11 @@
                       if (err)
                          ConfigAlertLoad(_("Menu style"));
                       break;
+                   case CONFIG_MENU:
+                      err = MenuConfigLoad(fs);
+                      if (err)
+                         ConfigAlertLoad(_("Menu"));
+                      break;
                    case CONFIG_BORDER:
                       err = BorderConfigLoad(fs);
                       if (err)
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/menus.c,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -3 -r1.230 -r1.231
--- menus.c     18 Feb 2006 08:30:08 -0000      1.230
+++ menus.c     20 Feb 2006 18:20:29 -0000      1.231
@@ -1803,7 +1803,7 @@
    return err;
 }
 
-static int
+int
 MenuConfigLoad(FILE * fs)
 {
    int                 err = 0;
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/menus.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- menus.h     18 Feb 2006 08:30:08 -0000      1.6
+++ menus.h     20 Feb 2006 18:20:29 -0000      1.7
@@ -36,6 +36,7 @@
 int                 MenuStyleConfigLoad(FILE * fs);
 MenuStyle          *MenuStyleFind(const char *name);
 
+int                 MenuConfigLoad(FILE * fs);
 Menu               *MenuCreate(const char *name, const char *title,
                               Menu * parent, MenuStyle * ms);
 void                MenuDestroy(Menu * m);




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to