/* features */
+/* enable cookie support */
#define FEATURE_COOKIE
+/* highlich search reasults */
#define FEATURE_SEARCH_HIGHLIGHT
+/* disable scrollbars */
#define FEATURE_NO_SCROLLBARS
+/* show page title in url completions */
#define FEATURE_TITLE_IN_COMPLETION
+/* enable the read it later queue */
#define FEATURE_QUEUE
+/* show load progress in window title */
+#define FEATURE_TITLE_PROGRESS
/* should the history indicator [+-] be shown in status bar after url */
#define FEATURE_HISTORY_INDICATOR
static void update_title(void)
{
- char *title;
+#ifdef FEATURE_TITLE_PROGRESS
/* show load status of page or the downloads */
if (vb.state.progress != 100) {
- title = g_strdup_printf("[%i%%] %s", vb.state.progress, vb.state.title);
+ char *title = g_strdup_printf("[%i%%] %s", vb.state.progress, vb.state.title);
gtk_window_set_title(GTK_WINDOW(vb.gui.window), title);
g_free(title);
} else {
gtk_window_set_title(GTK_WINDOW(vb.gui.window), vb.state.title);
}
+#else
+ gtk_window_set_title(GTK_WINDOW(vb.gui.window), vb.state.title);
+#endif
}
static gboolean mimetype_decision_cb(WebKitWebView *webview,