It would be nice if someone would throw the #!/bin/sh in build_db.sh
though, then non-sh shells won't barf.
-James
On Wednesday, 27 March 2002, at 14:19:42 (-0600), Brian Mattern wrote:
> On Wed, Mar 27, 2002 at 03:14:23PM -0500, James Moss wrote:
> > Since we're using e, and this directory is inside of ~/.e there's no
> > need to embed things as "~/.e/foo/bar/baz/.e_booger. I cleaned
> > .e_layout out and replaced with .layout cause it was starting to get to
> > me. I also fixed a build_db.sh script for those not using an sh
> > derivative.
> ahh, but there's a reason for the .e_
> the layout directory works for any view, not just desktops. most dirs
> are not inside the ~/.e heirarchy, and therefore, .e_layout is
> preferable to .layout.
> --
> brian
>
> >
> > -James Moss
>
> > diff -Nurd e-vanilla/data/scripts/build_db.sh e/data/scripts/build_db.sh
> > --- e-vanilla/data/scripts/build_db.sh Sun Nov 25 03:32:54 2001
> > +++ e/data/scripts/build_db.sh Wed Mar 27 15:03:04 2002
> > @@ -1,3 +1,5 @@
> > +#!/bin/sh
> > +
> > # enumerated variables - don't touch these
> > ACT_MOUSE_IN=0
> > ACT_MOUSE_OUT=1
> > diff -Nurd e-vanilla/src/e_view_look.h e/src/e_view_look.h
> > --- e-vanilla/src/e_view_look.h Sun Mar 10 12:24:20 2002
> > +++ e/src/e_view_look.h Wed Mar 27 15:01:33 2002
> > @@ -28,7 +28,7 @@
> >
> > E_View_Look_Objects *obj;
> >
> > - /* The .e_layout dir to monitor */
> > + /* The .layout dir to monitor */
> > E_Dir *dir;
> > };
> >
> > diff -Nurd e-vanilla/src/scrollbar.c e/src/scrollbar.c
> > --- e-vanilla/src/scrollbar.c Wed Mar 6 15:44:48 2002
> > +++ e/src/scrollbar.c Wed Mar 27 15:02:10 2002
> > @@ -81,7 +81,7 @@
> > if (sb->direction == 1)
> > {
> > /* load from the current dir's layout */
> > - snprintf(buf, PATH_MAX, "%s/.e_layout/scroll_base_v.bits.db",
> > + snprintf(buf, PATH_MAX, "%s/.layout/scroll_base_v.bits.db",
> > sb->view->dir->dir);
> > sb->base = ebits_load(buf);
> >
> > @@ -94,7 +94,7 @@
> > }
> >
> > /* load from current dir's layout */
> > - snprintf(buf, PATH_MAX, "%s/.e_layout/scroll_bar_v.bits.db",
> > + snprintf(buf, PATH_MAX, "%s/.layout/scroll_bar_v.bits.db",
> > sb->view->dir->dir);
> > sb->bar = ebits_load(buf);
> >
> > @@ -109,7 +109,7 @@
> > else
> > {
> > /* load from the current dir's layout */
> > - snprintf(buf, PATH_MAX, "%s/.e_layout/scroll_base_h.bits.db",
> > + snprintf(buf, PATH_MAX, "%s/.layout/scroll_base_h.bits.db",
> > sb->view->dir->dir);
> > sb->base = ebits_load(buf);
> >
> > @@ -122,7 +122,7 @@
> > }
> >
> > /* load from current dir's layout */
> > - snprintf(buf, PATH_MAX, "%s/.e_layout/scroll_bar_h.bits.db",
> > + snprintf(buf, PATH_MAX, "%s/.layout/scroll_bar_h.bits.db",
> > sb->view->dir->dir);
> > sb->bar = ebits_load(buf);
> >
> > diff -Nurd e-vanilla/src/view.c e/src/view.c
> > --- e-vanilla/src/view.c Mon Mar 11 15:03:14 2002
> > +++ e/src/view.c Wed Mar 27 15:02:36 2002
> > @@ -1733,10 +1733,10 @@
> > {
> > /*
> > * no path specified, lets look in the view's dir. If
> > - * there is a e_layout dir there, use whats in there.
> > + * there is a layout dir there, use whats in there.
> > * Otherwise use the default dir.
> > */
> > - snprintf(buf, PATH_MAX, "%s/.e_layout", v->dir->dir);
> > + snprintf(buf, PATH_MAX, "%s/.layout", v->dir->dir);
> > if (e_file_exists(buf) && e_file_is_dir(buf))
> > path = buf;
> > else
>
>
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@...
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
|