Mercurial > vim
changeset 3666:46896c29edd7 v7.3.593
updated for version 7.3.593
Problem: No easy way to decide if b:browsefilter will work.
Solution: Add the browsefilter feature.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 10 Jul 2012 13:41:14 +0200 |
parents | c1a41a78726d |
children | 8247c65112b0 |
files | src/eval.c src/gui_gtk.c src/version.c src/vim.h |
diffstat | 4 files changed, 13 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -12044,6 +12044,11 @@ f_has(argvars, rettv) "all_builtin_terms", # endif #endif +#if defined(FEAT_BROWSE) && (defined(USE_FILE_CHOOSER) \ + || defined(FEAT_GUI_W32) \ + || defined(FEAT_GUI_MOTIF)) + "browsefilter", +#endif #ifdef FEAT_BYTEOFF "byte_offset", #endif
--- a/src/gui_gtk.c +++ b/src/gui_gtk.c @@ -779,9 +779,6 @@ gui_mch_destroy_scrollbar(scrollbar_T *s /* * Implementation of the file selector related stuff */ -#if GTK_CHECK_VERSION(2,4,0) -# define USE_FILE_CHOOSER -#endif #ifndef USE_FILE_CHOOSER static void