Karsten Hopp ecceb6
To: vim_dev@googlegroups.com
Karsten Hopp ecceb6
Subject: Patch 7.3.593
Karsten Hopp ecceb6
Fcc: outbox
Karsten Hopp ecceb6
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ecceb6
Mime-Version: 1.0
Karsten Hopp ecceb6
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ecceb6
Content-Transfer-Encoding: 8bit
Karsten Hopp ecceb6
------------
Karsten Hopp ecceb6
Karsten Hopp ecceb6
Patch 7.3.593
Karsten Hopp ecceb6
Problem:    No easy way to decide if b:browsefilter will work.
Karsten Hopp ecceb6
Solution:   Add the browsefilter feature.
Karsten Hopp ecceb6
Files:	    src/gui_gtk.c, src/eval.c, src/vim.h
Karsten Hopp ecceb6
Karsten Hopp ecceb6
Karsten Hopp ecceb6
*** ../vim-7.3.592/src/gui_gtk.c	2012-07-10 13:12:46.000000000 +0200
Karsten Hopp ecceb6
--- src/gui_gtk.c	2012-07-10 13:40:38.000000000 +0200
Karsten Hopp ecceb6
***************
Karsten Hopp ecceb6
*** 779,787 ****
Karsten Hopp ecceb6
  /*
Karsten Hopp ecceb6
   * Implementation of the file selector related stuff
Karsten Hopp ecceb6
   */
Karsten Hopp ecceb6
- #if GTK_CHECK_VERSION(2,4,0)
Karsten Hopp ecceb6
- # define USE_FILE_CHOOSER
Karsten Hopp ecceb6
- #endif
Karsten Hopp ecceb6
  
Karsten Hopp ecceb6
  #ifndef USE_FILE_CHOOSER
Karsten Hopp ecceb6
      static void
Karsten Hopp ecceb6
--- 779,784 ----
Karsten Hopp ecceb6
*** ../vim-7.3.592/src/eval.c	2012-06-29 12:54:32.000000000 +0200
Karsten Hopp ecceb6
--- src/eval.c	2012-07-10 13:34:10.000000000 +0200
Karsten Hopp ecceb6
***************
Karsten Hopp ecceb6
*** 12044,12049 ****
Karsten Hopp ecceb6
--- 12044,12054 ----
Karsten Hopp ecceb6
  	"all_builtin_terms",
Karsten Hopp ecceb6
  # endif
Karsten Hopp ecceb6
  #endif
Karsten Hopp ecceb6
+ #if defined(FEAT_BROWSE) && (defined(USE_FILE_CHOOSER) \
Karsten Hopp ecceb6
+ 	|| defined(FEAT_GUI_W32) \
Karsten Hopp ecceb6
+ 	|| defined(FEAT_GUI_MOTIF))
Karsten Hopp ecceb6
+ 	"browsefilter",
Karsten Hopp ecceb6
+ #endif
Karsten Hopp ecceb6
  #ifdef FEAT_BYTEOFF
Karsten Hopp ecceb6
  	"byte_offset",
Karsten Hopp ecceb6
  #endif
Karsten Hopp ecceb6
*** ../vim-7.3.592/src/vim.h	2012-06-13 17:28:51.000000000 +0200
Karsten Hopp ecceb6
--- src/vim.h	2012-07-10 13:30:44.000000000 +0200
Karsten Hopp ecceb6
***************
Karsten Hopp ecceb6
*** 2125,2130 ****
Karsten Hopp ecceb6
--- 2125,2136 ----
Karsten Hopp ecceb6
  # endif
Karsten Hopp ecceb6
  #endif
Karsten Hopp ecceb6
  
Karsten Hopp ecceb6
+ #if defined(FEAT_BROWSE) && defined(GTK_CHECK_VERSION)
Karsten Hopp ecceb6
+ # if GTK_CHECK_VERSION(2,4,0)
Karsten Hopp ecceb6
+ #  define USE_FILE_CHOOSER
Karsten Hopp ecceb6
+ # endif
Karsten Hopp ecceb6
+ #endif
Karsten Hopp ecceb6
+ 
Karsten Hopp ecceb6
  #ifndef FEAT_NETBEANS_INTG
Karsten Hopp ecceb6
  # undef NBDEBUG
Karsten Hopp ecceb6
  #endif
Karsten Hopp ecceb6
*** ../vim-7.3.592/src/version.c	2012-07-10 13:12:46.000000000 +0200
Karsten Hopp ecceb6
--- src/version.c	2012-07-10 13:34:50.000000000 +0200
Karsten Hopp ecceb6
***************
Karsten Hopp ecceb6
*** 716,717 ****
Karsten Hopp ecceb6
--- 716,719 ----
Karsten Hopp ecceb6
  {   /* Add new patch number below this line */
Karsten Hopp ecceb6
+ /**/
Karsten Hopp ecceb6
+     593,
Karsten Hopp ecceb6
  /**/
Karsten Hopp ecceb6
Karsten Hopp ecceb6
-- 
Karsten Hopp ecceb6
hundred-and-one symptoms of being an internet addict:
Karsten Hopp ecceb6
102. When filling out your driver's license application, you give
Karsten Hopp ecceb6
     your IP address.
Karsten Hopp ecceb6
Karsten Hopp ecceb6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ecceb6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ecceb6
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ecceb6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///