Enlightenment CVS committal
Author : onefang
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
Makefile.am e_includes.h e_main.c
Added Files:
e_fdo_menu_to_order.c e_fdo_menu_to_order.h
Log Message:
The next step. B-)
Converts fdo menus to directories full of .order files at startup if
there is no applications/menu/all/.order file. This is the last big
peice of the puzzle.
Lots of tweaking, optimising, cleaning, polishing, and general making
this stuff live well with the rest of E to go.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/Makefile.am,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -3 -r1.142 -r1.143
--- Makefile.am 20 Aug 2006 21:18:29 -0000 1.142
+++ Makefile.am 22 Aug 2006 00:56:03 -0000 1.143
@@ -174,7 +174,8 @@
e_int_config_wallpaper.h \
e_int_config_wallpaper_import.h \
e_int_config_wallpaper_gradient.h \
-e_color_dialog.h
+e_color_dialog.h \
+e_fdo_menu_to_order.h
enlightenment_src = \
e_user.c \
@@ -325,6 +326,7 @@
e_int_config_wallpaper_import.c \
e_int_config_wallpaper_gradient.c \
e_color_dialog.c \
+e_fdo_menu_to_order.c \
$(ENLIGHTENMENTHEADERS)
enlightenment_SOURCES = \
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_includes.h,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -3 -r1.121 -r1.122
--- e_includes.h 21 Aug 2006 15:52:58 -0000 1.121
+++ e_includes.h 22 Aug 2006 00:56:03 -0000 1.122
@@ -151,3 +151,4 @@
#include "e_widget_color_well.h"
#include "e_widget_csel.h"
#include "e_color_dialog.h"
+#include "e_fdo_menu_to_order.h"
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_main.c,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -3 -r1.178 -r1.179
--- e_main.c 21 Aug 2006 04:35:52 -0000 1.178
+++ e_main.c 22 Aug 2006 00:56:03 -0000 1.179
@@ -877,6 +877,16 @@
homedir);
system(buf);
}
+ /* FIXME: THIS is a hack to get people started!!!
+ * Soon to be replaced with fancy background converting and resyncing code.
+ * Currently this is likely to be done each time E is started up on some
systems.
+ * On the other hand, some of those systems wont have FDO menus, so this
should not take long.
+ */
+ snprintf(buf, sizeof(buf), "%s/.e/e/applications/menu/all/.order", homedir);
+ if (!ecore_file_exists(buf))
+ {
+ e_fdo_menu_to_order();
+ }
/* FIXME: THIS is to get people started - shoudl be in a wizard */
snprintf(buf, sizeof(buf), "%s/.e/e/fileman/favorites", homedir);
if (!ecore_file_exists(buf))
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs