Skip to content

Commit

Permalink
Update builtin menu
Browse files Browse the repository at this point in the history
Update the builtin menu that to ensure that anyone users who end up with
it can run a xterm, FvwmConsole, load the default-config, or quit.
  • Loading branch information
somiaj authored and ThomasAdam committed Jun 30, 2021
1 parent b7d5a1e commit adb486e
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions fvwm/fvwm3.c
Original file line number Diff line number Diff line change
Expand Up @@ -1345,34 +1345,30 @@ static void SetRCDefaults(void)
{ "TitleStyle Centered -- Raised", "", "" },
{ "Style * Color lightgrey/dimgrey", "", "" },
{ "Style * HilightFore black, HilightBack grey", "", "" },
{ "DestroyFunc FvwmMakeMissingDesktopMenu", "", "" },
{ "AddToFunc FvwmMakeMissingDesktopMenu I PipeRead 'fvwm-menu-desktop --enable-mini-icons --fvwm-icons'", "", "" },
{ "AddToFunc LoadDefaultConfig", "", "" },
{ "+ I Read "FVWM_DATADIR"/default-config/config", "", "" },
{ "+ I StartFunction", "", "" },
{
"AddToMenu MenuFvwmRoot \"",
_("Builtin Menu"),
"\" Title"
},
{ "+ MissingSubmenuFunction FvwmMakeMissingDesktopMenu","",""},
{ "+ \"&1. XTerm\" Exec xterm", "", ""},
{ "+ \"&1. XTerm\" Exec xterm", "", "" },
{ "+ \"&2. FvwmConsole\" Module FvwmConsole", "", "" },
{
"+ \"&2. ",
_("Issue fvwm commands"),
"\" Module FvwmConsole"
"+ \"&3. ",
_("Load Default Config"),
"\" LoadDefaultConfig"
},
{
"+ \"&D. ",
_("Desktop Menu"),
"\" Popup FvwmMenu"
"+ \"&4. ",
_("Restart"),
" Fvwm\" Restart"
},
{
"+ \"&R. ",
_("Restart fvwm"),
"\" Restart"
},
{
"+ \"&X. ",
_("Exit fvwm"),
"\" Quit"
"+ \"&5. ",
_("Quit"),
" Fvwm\" Quit"
},
{ "Mouse 1 R A Menu MenuFvwmRoot", "", "" },
/* default menu navigation */
Expand Down

0 comments on commit adb486e

Please sign in to comment.