#define MAXIMUM_HINTS 500
-/* remove this if the bookmark file fits to the new format "URL<tab>title of page<tab>tag1 tag2" */
+/* remove next line if the bookmark file fits to the new format "URL<tab>title of page<tab>tag1 tag2" */
+#define SHOW_ANNOUNCEMENT
+
#define ANNOUNCEMENT "\
<!DOCTYPE html><html lang=\"en\" dir=\"ltr\"><head> \
<title>Bookmark file format changed</title> \
// replace the first space in earch line of file to <b>\\t\\t</b> if the line haven't already a \t in it.<br/> \
sed -i -e '/\\t/!{s/ /\\t\\t/}' bookmark<br/> \
</code> \
-<p>If you had no entries in the bookmark file or you changed it successfully, you should remove the '#define ANNOUNCEMENT' from <i>config.h</i> file and recompile vimb.</p> \
+<p>If you had no entries in the bookmark file or you changed it successfully, you should remove the '#define SHOW_ANNOUNCEMENT' from <i>config.h</i> file and recompile vimb.</p> \
</body> \
</html>"
init_core();
-#ifdef ANNOUNCEMENT
+#if defined(ANNOUNCEMENT) && defined(SHOW_ANNOUNCEMENT)
webkit_web_view_load_string(vb.gui.webview, ANNOUNCEMENT, "text/html", NULL, NULL);
#else
/* command line argument: URL */