kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=5938226ffd1b29c2a06032c3b626bca5ca45df2f

commit 5938226ffd1b29c2a06032c3b626bca5ca45df2f
Author: Kim Woelders <[email protected]>
Date:   Sat Apr 30 17:25:57 2022 +0200

    main: Don't start edox on first startup
    
    The edox documentaion is rather dated - time to drop it.
---
 src/main.c | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/src/main.c b/src/main.c
index f09cb1ac..18af6724 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various 
contributors
- * Copyright (C) 2004-2021 Kim Woelders
+ * Copyright (C) 2004-2022 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -460,21 +460,6 @@ EoptHelp(void)
      }
 }
 
-static void
-RunDocBrowser(void)
-{
-   char                buf[FILEPATH_LEN_MAX];
-
-   Esnprintf(buf, sizeof(buf), "%s/edox", EDirBin());
-   if (!canexec(buf))
-      return;
-   Esnprintf(buf, sizeof(buf), "%s/E-docs/MAIN", EDirRoot());
-   if (!canread(buf))
-      return;
-
-   Espawn("%s/edox %s/E-docs", EDirBin(), EDirRoot());
-}
-
 static void
 RunMenuGen(void)
 {
@@ -492,7 +477,6 @@ RunInitPrograms(void)
    if (Mode.firsttime && Mode.wm.master)
      {
        RunMenuGen();
-       RunDocBrowser();
      }
 }
 

-- 


Reply via email to