Re: 1.4.5 broken?
Guylhem Aznar guylhem-as@danmark.linux.eu.org
Fri, 29 May 1998 10:02:31 +0200 (CEST)
> void MakeMenus(const char *display_name, int thisdesktop, Bool
> shallmeltstart)
> {
> ...
>
> #ifndef NO_MAKEMENUSONBOOT
> #ifndef NO_MAKESTARTMENU
> if (shallmeltstart)
> MeltStartMenu(TMP_STARTMENU);
> #endif
> #endif
>
> ...
> }
Right, I corrected it : basically you just need to add #else :
#ifndef NO_MAKEMENUSONBOOT
#ifndef NO_MAKESTARTMENU
if (shallmeltstart)
MeltStartMenu(TMP_STARTMENU);
#else
if (shallmeltstart > 1)
MeltStartMenu(TMP_STARTMENU);
#endif
#endif /* ! NO_MAKEMENUSONBOOT */
I also changed shallmeltstart from Bool to int, so MakeMenus (..., 1) or
(...,2) reacts differently, one is in afterstep.c for startup : don't always
Melt if NO_MAKESTARTMENU is defined, the other in function.c : ALWAYS melt if
Update start menu/Update all
> place where MakeMenus call MeltStartMenus, thus if you have compiled AS
> with NO_MAKEMENUSONBOOT or NO_MAKESTARTMENU the start menu will not be
> rebuilt at startup nor when you ask it to.
;) Sorry, it was my fault.
> /Tobias
Salut / Best regards,
Guylhem <guylhem@oeil.qc.ca>
AfterStep & Linux HOWTOs
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://wormhole.eosys.com/mailing-lists/AfterStep-Info.html
FAQ: http://www.cs.purdue.edu/homes/zamboni/afterstep/FAQ.html
To unsubscribe: echo unsubscribe | mail afterstep-request@eosys.com