diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-10-11 10:06:20 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-10-11 10:06:20 +0000 |
commit | 7171abea1ad8d33cce89a9664873417187139a53 (patch) | |
tree | 491426309f8e38304d96b55b7ac5ab6bdaefcc6b /src/gui_w48.c | |
parent | 349b2f643a5e840facf42942d37d47c5b37c1292 (diff) | |
download | vim-git-7171abea1ad8d33cce89a9664873417187139a53.tar.gz |
updated for version 7.0018
Diffstat (limited to 'src/gui_w48.c')
-rw-r--r-- | src/gui_w48.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c index eeaf651c7..4f0bab700 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -2980,6 +2980,18 @@ convert_filter(char_u *s) } /* + * Select a directory. + */ + char_u * +gui_mch_browsedir(char_u *title, char_u *initdir) +{ + /* We fake this: Use a filter that doesn't select anything and a default + * file name that won't be used. */ + return gui_mch_browse(0, title, (char_u *)_("Not Used"), NULL, + initdir, (char_u *)_("Directory\t*.nothing\n")); +} + +/* * Pop open a file browser and return the file selected, in allocated memory, * or NULL if Cancel is hit. * saving - TRUE if the file will be saved to, FALSE if it will be opened. |