CPPFLAGS += -DFEATURE_COOKIE
CPPFLAGS += -DFEATURE_SEARCH_HIGHLIGHT
CPPFLAGS += -DFEATURE_NO_SCROLLBARS
+#CPPFLAGS += -DFEATURE_GTK_PROGRESSBAR
LIBS = libsoup-2.4
if (vb.state.progress != 100) {
g_string_append_printf(status, " [%i%%]", vb.state.progress);
}
+#ifdef FEATURE_GTK_PROGRESSBAR
+ gtk_entry_set_progress_fraction(
+ GTK_ENTRY(vb.gui.inputbox),
+ vb.state.progress == 100 ? 0.0 : vb.state.progress/100.0
+ );
+#endif
/* show the scroll status */
max = gtk_adjustment_get_upper(vb.gui.adjust_v) - gtk_adjustment_get_page_size(vb.gui.adjust_v);