2008-05-27 Daiki Ueno <ueno@unixuser.org>
* riece-menu.el (riece-menu-items): Define with defcustom; use
- riece-mcat to translate menu labels.
+ riece-mcat to translate menu labels; bind
+ riece-command-configure-windows.
(riece-menu-requires): Depend on riece-mcat.
(riece-menu-insinuate): Re-evaluate riece-menu-items.
("Receiving %s from %s...done" . "%s \e$B$r\e(B %s \e$B$+$i<u?.Cf\e(B...\e$B40N;\e(B")
("Recent messages of the day:\n" . "\e$B:G6a$N%a%C%;!<%8\e(B (\e$B:#F|Cf\e(B):\n")
("Recent messages up to %d lines:\n" . "\e$B:G6a$N%a%C%;!<%8\e(B (%d \e$B9T$^$G\e(B):\n")
+ ("Redraw Layout" . "\e$B2hLL$N:FIA2h\e(B")
("Save as (default %s) " . "\e$BJ]B8@h\e(B (\e$B4{DjCM\e(B %s) ")
("Saving %s..." . "%s \e$B$rJ]B8$7$F$$$^$9\e(B...")
("Saving %s...done" . "%s \e$B$rJ]B8$7$F$$$^$9\e(B...\e$B40N;\e(B")
(list (riece-mcat "Servers")
:filter 'riece-menu-create-servers-menu)
"----"
+ (vector (riece-mcat "Redraw Layout") 'riece-command-configure-windows t)
(list (riece-mcat "Change Window Layout...")
:filter 'riece-menu-create-layouts-menu)
(list (riece-mcat "Toggle...")