1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

Add history to some dialog boxes

This patch adds history to some dialog boxes. To use it replace %a with
%A in menu file (like in "Run..." menu item). You can specify third
parameter to %A to use different histories for differen dialogs.

All history files is kept in ~/GNUstep/.AppInfo/WindowMaker/ and the number of
history lines controlled by DialogHistoryLines parameter (one for
all dialogs) defaults to 500 lines.

It also adds Tab completion.

Origin: ALT/Sisyphus Linux, Alexey Voinov <voins@altlinux.ru>
This commit is contained in:
Alexey Voinov
2007-08-14 15:15:37 +04:00
committed by Carlos R. Mafra
parent f8dd3dc49e
commit 05720d9707
7 changed files with 366 additions and 83 deletions

View File

@@ -33,6 +33,7 @@ enum {
int wMessageDialog(WScreen *scr, char *title, char *message,
char *defBtn, char *altBtn, char *othBtn);
int wAdvancedInputDialog(WScreen *scr, char *title, char *message, char *name, char **text);
int wInputDialog(WScreen *scr, char *title, char *message, char **text);
int wExitDialog(WScreen *scr, char *title, char *message, char *defBtn,