I'm unhappy that switching to the ugly and gtk file selection dialog.
I prefer to err on the recently-used func.
This patch overwrited the g_bookmark_file_to_file() func to fixed the
considerable I/O problem,
and switching to the new-style gtk_file_chooser_dialog.
It works on my Ubuntu 9.04.
--- vim-7.2.079/src/gui_gtk.c 2009-04-26 13:06:52 +0000
+++ vim-7.2.079/src/gui_gtk.c 2009-04-26 18:57:06 +0000
@@ -1199,8 +1199,17 @@
* ~/.recently-used.xbel every time the main loop is quit. For Vim that means
* on just about any event. */
/* # define USE_FILE_CHOOSER */
+#define USE_FILE_CHOOSER 1
#endif
+extern gboolean
+g_bookmark_file_to_file (GBookmarkFile *bookmark,
+ const gchar *filename,
+ GError **error)
+{
+ return TRUE;
+}
+
#ifndef USE_FILE_CHOOSER
/*ARGSUSED*/
static void
** Attachment added: "vim-gtk-filechooser.patch"
http://launchpadlibrarian.net/26060276/vim-gtk-filechooser.patch
--
vim-gtk/-gnome use of gtk-filechooser causes recently used files list to be
constantly written
https://bugs.launchpad.net/bugs/251122
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs