| To: vim_dev@googlegroups.com |
| Subject: Patch 7.3.593 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.3.593 |
| Problem: No easy way to decide if b:browsefilter will work. |
| Solution: Add the browsefilter feature. |
| Files: src/gui_gtk.c, src/eval.c, src/vim.h |
| |
| |
| |
| |
| |
| *** 779,787 **** |
| /* |
| * 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 |
| --- 779,784 ---- |
| |
| |
| |
| *** 12044,12049 **** |
| --- 12044,12054 ---- |
| "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 |
| |
| |
| |
| *** 2125,2130 **** |
| --- 2125,2136 ---- |
| # endif |
| #endif |
| |
| + #if defined(FEAT_BROWSE) && defined(GTK_CHECK_VERSION) |
| + # if GTK_CHECK_VERSION(2,4,0) |
| + # define USE_FILE_CHOOSER |
| + # endif |
| + #endif |
| + |
| #ifndef FEAT_NETBEANS_INTG |
| # undef NBDEBUG |
| #endif |
| |
| |
| |
| *** 716,717 **** |
| --- 716,719 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 593, |
| /**/ |
| |
| -- |
| hundred-and-one symptoms of being an internet addict: |
| 102. When filling out your driver's license application, you give |
| your IP address. |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ an exciting new programming language -- http://www.Zimbu.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |