aboutsummaryrefslogtreecommitdiffstats
path: root/src/menubuild.c
diff options
context:
space:
mode:
authorboris <boris>2001-08-31 13:10:26 +0000
committerboris <boris@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2001-08-31 13:10:26 +0000
commit125f101b7cd30a4bc6ef6ec35c56be56e7f326fe (patch)
tree3b005a05dad88fdad903bfa52396e6384662d8eb /src/menubuild.c
parentb9d6066361647c48c25a5d63e6c9d12c08c2ff18 (diff)
downloadenlightenment-125f101b7cd30a4bc6ef6ec35c56be56e7f326fe.tar.gz
enlightenment-125f101b7cd30a4bc6ef6ec35c56be56e7f326fe.tar.xz
enlightenment-125f101b7cd30a4bc6ef6ec35c56be56e7f326fe.zip
no need for ferite. fun.
SVN revision: 5315
Diffstat (limited to 'src/menubuild.c')
-rw-r--r--src/menubuild.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/menubuild.c b/src/menubuild.c
index 5062a902b..d7e150799 100644
--- a/src/menubuild.c
+++ b/src/menubuild.c
@@ -2,7 +2,10 @@
#include "menubuild.h"
#include "exec.h"
#include "util.h"
-#include "e_ferite.h"
+
+#ifdef USE_FERITE
+# include "e_ferite.h"
+#endif
Evas_List build_menus = NULL;
@@ -33,12 +36,18 @@ static void
e_build_menu_cb_script(E_Menu *m, E_Menu_Item *mi, void *data)
{
char *script;
-
+
+#ifdef USE_FERITE
script = data;
e_ferite_run(script);
+#else
+ printf( "No cookies for you. You will have to install ferite.\n" );
+#endif
+
return;
UN(m);
UN(mi);
+ UN(script);
}
static void