[SCM] Vim packaging branch, maint/lenny, updated. debian/7.1.314-3-51-g209709e
James Vega
jamessan at debian.org
Sun Oct 12 06:29:11 UTC 2008
The following commit has been merged in the maint/lenny branch:
commit bcc7d9a3775e26879ee091f074ae9cee7828b029
Author: James Vega <jamessan at debian.org>
Date: Thu Oct 9 21:57:31 2008 -0400
[7.2b.026] GTK 2 file chooser causes significant slowdown
Patch 7.2b.026
Problem: The GTK 2 file chooser causes the ~/.recently-used.xbel file to be
written over and over again. This may cause a significant
slowdown. (Guido Berhoerster)
Solution: Don't use the GTK 2 file chooser.
Conflicts:
src/version.c
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/debian/README b/debian/README
index 5f639da..3030fab 100644
--- a/debian/README
+++ b/debian/README
@@ -349,3 +349,4 @@ Individual patches for Vim 7.1:
1915 7.1.314 'pastetoggle' is written to the session file without escaping
20111 7.2a.013 shellescape() does not escape "%" and "#" characters
3465 7.2b.005 shellescape() doesn't take care of "!" and "\n"
+ 1783 7.2b.026 GTK 2 file chooser causes significant slowdown
diff --git a/src/gui_gtk.c b/src/gui_gtk.c
index 740d4a0..d158cd1 100644
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -1195,7 +1195,10 @@ gui_mch_destroy_scrollbar(scrollbar_T *sb)
* Implementation of the file selector related stuff
*/
#if defined(HAVE_GTK2) && GTK_CHECK_VERSION(2,4,0)
-# define USE_FILE_CHOOSER
+/* This has been disabled, because the GTK library rewrites
+ * ~/.recently-used.xbel every time the main loop is quit. For Vim that means
+ * on just about any event. */
+/* # define USE_FILE_CHOOSER */
#endif
#ifndef USE_FILE_CHOOSER
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list