Thu Jan 6 11:57:10 GMT 2000

(gilbertt)

Okay. I'm trying to make epplets gnome-session friendly (dunno why =P).

People complain about the automatic respawning, so I have added a configure
option --disable-auto-respawn to prevent epplets remembering to restart
(they still remember location, sticky etc).

*I have not tested this* because I refuse to run gnome-session on this box,
but I see no reason why it shouldn't be ok.


SVN revision: 1861
This commit is contained in:
Tom Gilbert 2000-01-06 00:16:38 +00:00
parent e4cf75a03e
commit 1eaafd4598
4 changed files with 29 additions and 2 deletions

View File

@ -1758,7 +1758,7 @@ Final preparations for the release of 0.5.
-------------------------------------------------------------------------------
Tue Jan 5 17:02:26 GMT 2000
Wed Jan 5 17:02:26 GMT 2000
(gilbertt)
Am I too late for 0.5?
@ -1774,3 +1774,18 @@ Wed Jan 5 20:11:40 PST 2000
(KainX)
New version number and copyright dates that include 2000.
-------------------------------------------------------------------------------
Thu Jan 6 11:57:10 GMT 2000
(gilbertt)
Okay. I'm trying to make epplets gnome-session friendly (dunno why =P).
People complain about the automatic respawning, so I have added a configure
option --disable-auto-respawn to prevent epplets remembering to restart
(they still remember location, sticky etc).
*I have not tested this* because I refuse to run gnome-session on this box,
but I see no reason why it shouldn't be ok.

View File

@ -166,6 +166,9 @@
/* Define if you have <nlist.h>. */
#undef NLIST_STRUCT
/* How gnome friendly do we feel? */
#undef NO_AUTO_RESPAWN
/* Define if your C compiler doesn't accept -c and -o together. */
#undef NO_MINUS_C_MINUS_O

View File

@ -968,8 +968,10 @@ Epplet_remember(void)
ECommsSend(s);
Esnprintf(s, sizeof(s), "remember %x group", (unsigned int)mainwin->win);
ECommsSend(s);
#ifndef NO_AUTO_RESPAWN
Esnprintf(s, sizeof(s), "remember %x command", (unsigned int)mainwin->win);
ECommsSend(s);
#endif
}
void

View File

@ -206,7 +206,6 @@ fi
AC_ARG_WITH(test-programs, [ --with-test-programs Builds the test programs [default=no]],
TEST_PROGS="EppletTest.epplet EppletConfigTest.epplet",TEST_PROGS="")
#
# ok enlightenment d00ds want to ignore civilization and install
# everything in one place. The rest of use prefer sanity.
#
@ -222,6 +221,14 @@ else
USE_FSSTD=no
fi
# Be friendly to gnome-session
AC_ARG_ENABLE(auto-respawn, [ --disable-auto-respawn Be gnome-session friendly, and don't respawn
epplets through e by default [default=no]],
no_respawn=yes,)
if test ! -z "$no_respawn"; then
AC_DEFINE(NO_AUTO_RESPAWN)
fi
AC_MSG_CHECKING(for Enlightenment location)
if test ! -z "$EROOT"; then
AC_SUBST(EROOT)