[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-devel
Subject:    [E-devel] Epplets 0.7 and DR 16.8
From:       Peter Hyman <pete4abw () comcast ! net>
Date:       2005-01-30 22:12:41
Message-ID: 1107123162.4897.3.camel () localhost
[Download RAW message or body]

I was goofing around with a clean system, and discovered that epplets
bombed in E 16.8.0. Turns out that the new default directory location in
~ conflicts with hard coded (boo hiss) directory locations for all
epplets.

This patch fixes that. Or the user can link a dummy .enlightenment
to .e16 as well.

peter@mars:/home/peter/epplets-0.7/api$ diff -u old/epplet.c epplet.c
--- old/epplet.c        2003-04-06 21:02:18.000000000 -0400
+++ epplet.c    2005-01-30 16:26:46.000000000 -0500
@@ -5497,7 +5497,7 @@
    pid_t               pid;
 
    /* make sure basic dir exists */
-   Esnprintf(s, sizeof(s), "%s/.enlightenment/epplet_config", getenv("HOME"));
+   Esnprintf(s, sizeof(s), "%s/.e16/epplet_config", getenv("HOME"));
    if (stat(s, &st) < 0)
      {
        if (mkdir(s, S_IRWXU) < 0)
@@ -5514,7 +5514,7 @@
      }
 
    /* make sure this epplets config dir exists */
-   Esnprintf(s, sizeof(s), "%s/.enlightenment/epplet_config/%s",
+   Esnprintf(s, sizeof(s), "%s/.e16/epplet_config/%s",
             getenv("HOME"), name);
    conf_dir = strdup(s);
    if (stat(s, &st) < 0)

I know these may be at the end of life now, but it SHOULD still work!

-- 
Peter



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic