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
2009-09-03 15:44:11 +02:00
committed by Carlos R. Mafra
parent f8dd3dc49e
commit 05720d9707
7 changed files with 366 additions and 83 deletions
+1
View File
@@ -472,6 +472,7 @@ typedef struct WPreferences {
unsigned int workspace_border_size; /* Size in pixels of the workspace border */
char workspace_border_position; /* Where to leave a workspace border */
char single_click; /* single click to lauch applications */
int history_lines; /* history of "Run..." dialog */
RImage *swtileImage;
RImage *swbackImage[9];