From: <dom...@us...> - 2019-11-23 14:29:16
|
Revision: 952 http://sourceforge.net/p/fvwm-crystal/code/952 Author: dominique_libre Date: 2019-11-23 14:29:14 +0000 (Sat, 23 Nov 2019) Log Message: ----------- functions to start/stop the XDG menu including at startup Modified Paths: -------------- ChangeLog fvwm/components/functions/CheckForFiles fvwm/components/functions/Preferences-Menu Modified: ChangeLog =================================================================== --- ChangeLog 2019-11-22 18:14:42 UTC (rev 951) +++ ChangeLog 2019-11-23 14:29:14 UTC (rev 952) @@ -1,5 +1,10 @@ ChangeLog for FVWM-Crystal +samedi 23 novembre 2019 + fvwm/components/functions/CheckForFiles + fvwm/components/functions/Preferences-Menu: new functions to start/stop the + XDG menu including at startup. + vendredi 22 novembre 2019 fvwm/locale/[de_DE|fy_NL|nl_NL].UTF-8/LC_MESSAGES/fvwm-crystal.*: fix the "'". + fvwm/locale/it Modified: fvwm/components/functions/CheckForFiles =================================================================== --- fvwm/components/functions/CheckForFiles 2019-11-22 18:14:42 UTC (rev 951) +++ fvwm/components/functions/CheckForFiles 2019-11-23 14:29:14 UTC (rev 952) @@ -12,7 +12,9 @@ # Load date for last installed package with a desktop file LoadPreferences DateLastApp +# XDG Menu LoadPreferences XDGMenu +Test (EnvMatch XDGMenu yes) LoadXDGMenu # Load the system editor LoadPreferences EDITOR Modified: fvwm/components/functions/Preferences-Menu =================================================================== --- fvwm/components/functions/Preferences-Menu 2019-11-22 18:14:42 UTC (rev 951) +++ fvwm/components/functions/Preferences-Menu 2019-11-23 14:29:14 UTC (rev 952) @@ -393,19 +393,27 @@ + I SavePreferences DesktopMenu "Mouse 1 R $[Mod] DesktopMenu" + I Mouse 1 R $[Mod] DesktopMenu +DestroyFunc NoXDGMenu +AddToFunc NoXDGMenu ++ I Key A A $[Mod1] - ++ I Key A A $[Mod1]2 - + DestroyFunc SetNoXDGMenu AddToFunc SetNoXDGMenu + I SavePreferences XDGMenu "SetEnv XDGMenu no" -+ I Key A A $[Mod1] - -+ I Key A A $[Mod1]2 - ++ I NoXDGMenu -DestroyFunc SetXDGMenu -AddToFunc SetXDGMenu -+ I SavePreferences XDGMenu "SetEnv XDGMenu yes" +DestroyFunc LoadXDGMenu +AddToFunc LoadXDGMenu + I Include .menu + I Key A A $[Mod1] Menu FvwmMenu + I Key A A $[Mod1]2 Menu FvwmMenu +DestroyFunc SetXDGMenu +AddToFunc SetXDGMenu ++ I SavePreferences XDGMenu "SetEnv XDGMenu yes" ++ I LoadXDGMenu + # # Notification Area Application # This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |