Hello *,
I have a Button:
[ '~/.fvwm/buttons/BUTTON_help' ]---
(1x1, \
Icon 32x32.help.xpm, \
ActiveIcon 32x32.happy.xpm,\
PressIcon 32x32.happy.waschlappen.xpm,\
Action (Mouse 1) 'Exec xman -pagesize 900x656-75+76 -notopbox',\
Action (Mouse 3) Popup Manpages\
)
which call the Popup with a Function
[ '~/.fvwm/menus/Manpages' ]
AddToMenu [EMAIL PROTECTED]@$[SIDEBAR_COLOR] $[gt.Manpages]%32x32.help.xpm%
Title
+ DynamicPopupAction Function Manpages.make
AddToFunc Manpages.make
+ I DestroyMenu recreate Manpages
+ I AddToMenu [EMAIL PROTECTED]@$[SIDEBAR_COLOR]
$[gt.Manpages]%32x32.help.xpm Title
+ I AddToMenu Manpages TearMenuOff
+ I PipeRead 'tdfvwm-manpages --dirs'
and it is working fine... but only once.
The PipeRead produce a list of posible manpages directories like
~/man
/usr/man
/usr/share/man
/usr/local/man
/usr/local/share/man
/usr/X11R6/man
/opt/man
look into them and if it find a manpage, it add the section to the
popup menu Manpages.
I have encounterd the problem as I have created the private mandir
in ~/man and put manpages into...
The function Manpages.make is not more executed after the first
execution und creation of the menu Manpages. What I want is,
that the Function RECREATE always the menu Manpages.
Why does this not happen?
Note that the produced output of 'tdfvwm-manpages --dirs' is
[ '~/.tdfvwmtools/manpages.menu.cache' ]
AddToMenu Manpages /usr/man%16x16.help.xpm%
AddToMenu Manpages NOP
AddToMenu Manpages 1. User Commands%16x16.help.xpm% PopUp
Manpages./usr/man/man1
AddToMenu Manpages NOP
AddToMenu Manpages NOP
AddToMenu Manpages /usr/share/man%16x16.help.xpm%
AddToMenu Manpages NOP
AddToMenu Manpages 1. User Commands%16x16.help.xpm% PopUp
Manpages./usr/share/man/man1
AddToMenu Manpages 2. System Calls%16x16.help.xpm% PopUp
Manpages./usr/share/man/man2
AddToMenu Manpages 3. Subroutines%16x16.help.xpm% PopUp
Manpages./usr/share/man/man3
AddToMenu Manpages 4. Devices%16x16.help.xpm% PopUp
Manpages./usr/share/man/man4
AddToMenu Manpages 5. File Formats%16x16.help.xpm% PopUp
Manpages./usr/share/man/man5
AddToMenu Manpages 6. Games%16x16.help.xpm% PopUp Manpages./usr/share/man/man6
AddToMenu Manpages 7. Miscelaneous%16x16.help.xpm% PopUp
Manpages./usr/share/man/man7
AddToMenu Manpages 8. Sys. Administration%16x16.help.xpm% PopUp
Manpages./usr/share/man/man8
AddToMenu Manpages 9. Kernel%16x16.help.xpm% PopUp
Manpages./usr/share/man/man9
AddToMenu Manpages NOP
AddToMenu Manpages NOP
#
AddToMenu Manpages./usr/man/[EMAIL PROTECTED]@$[SIDEBAR_COLOR]
/usr/man/man1%32x32.help.xpm% Title
+ DynamicPopUpAction Function Manpages.make./usr/man/man1
DestroyFunc Manpages.make./usr/man/man1
AddToFunc Manpages.make./usr/man/man1
+ I DestroyMenu recreate Manpages./usr/man/man1
+ I AddToMenu Manpages./usr/man/[EMAIL PROTECTED]@$[SIDEBAR_COLOR] 1. User
Commands%32x32.help.xpm Title
+ I AddToMenu Manpages./usr/man/man1 TearMenuOff
+ I PipeRead 'tdfvwm-manpages --manpages=/usr/man/man1'
#
AddToMenu Manpages./usr/share/man/[EMAIL PROTECTED]@$[SIDEBAR_COLOR]
/usr/share/man/man1%32x32.help.xpm% Title
+ DynamicPopUpAction Function Manpages.make./usr/share/man/man1
DestroyFunc Manpages.make./usr/share/man/man1
AddToFunc Manpages.make./usr/share/man/man1
+ I DestroyMenu recreate Manpages./usr/share/man/man1
+ I AddToMenu Manpages./usr/share/man/[EMAIL PROTECTED]@$[SIDEBAR_COLOR] 1.
User Commands%32x32.help.xpm Title
+ I AddToMenu Manpages./usr/share/man/man1 TearMenuOff
+ I PipeRead 'tdfvwm-manpages --manpages=/usr/share/man/man1'
#
AddToMenu Manpages./usr/share/man/[EMAIL PROTECTED]@$[SIDEBAR_COLOR]
/usr/share/man/man2%32x32.help.xpm% Title
+ DynamicPopUpAction Function Manpages.make./usr/share/man/man2
DestroyFunc Manpages.make./usr/share/man/man2
AddToFunc Manpages.make./usr/share/man/man2
+ I DestroyMenu recreate Manpages./usr/share/man/man2
+ I AddToMenu Manpages./usr/share/man/[EMAIL PROTECTED]@$[SIDEBAR_COLOR] 2.
System Calls%32x32.help.xpm Title
+ I AddToMenu Manpages./usr/share/man/man2 TearMenuOff
+ I PipeRead 'tdfvwm-manpages --manpages=/usr/share/man/man2'
#
AddToMenu Manpages./usr/share/man/[EMAIL PROTECTED]@$[SIDEBAR_COLOR]
/usr/share/man/man3%32x32.help.xpm% Title
+