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
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, chooser_ dialog.
and switching to the new-style gtk_file_
It works on my Ubuntu 9.04.
--- vim-7.2. 079/src/ gui_gtk. c 2009-04-26 13:06:52 +0000 079/src/ gui_gtk. c 2009-04-26 18:57:06 +0000 used.xbel every time the main loop is quit. For Vim that means
+++ vim-7.2.
@@ -1199,8 +1199,17 @@
* ~/.recently-
* on just about any event. */
/* # define USE_FILE_CHOOSER */
+#define USE_FILE_CHOOSER 1
#endif
+extern gboolean file_to_ file (GBookmarkFile *bookmark,
+g_bookmark_
+ const gchar *filename,
+ GError **error)
+{
+ return TRUE;
+}
+
#ifndef USE_FILE_CHOOSER
/*ARGSUSED*/
static void