GtkWidget* vbox;
GtkWidget* mainbar;
GtkWidget* mainbar_label;
- GtkScrollbar* scbar_v; // Horizontal and Vertical Scrollbar
- GtkScrollbar* scbar_h; // (These are still hidden)
- GtkAdjustment* bar_v; // Information about document length
- GtkAdjustment* bar_h; // and scrolling position
+ GtkScrollbar* scbar_v; /* Horizontal and Vertical Scrollbar */
+ GtkScrollbar* scbar_h; /* (These are still hidden) */
+ GtkAdjustment* bar_v; /* Information about document length */
+ GtkAdjustment* bar_h; /* and scrolling position */
WebKitWebView* web_view;
gchar* main_title;
guint font_size;
guint monospace_size;
guint minimum_font_size;
+ gfloat zoom_level;
guint disable_plugins;
guint disable_scripts;
guint autoload_img;
gchar* base_url;
gchar* html_endmarker;
GString* html_buffer;
+ guint html_timeout;
/* command list: name -> Command */
GHashTable* commands;
setup_signal(int signe, sigfunc *shandler);
static gboolean
+set_var_value(gchar *name, gchar *val);
+
+static gboolean
new_window_cb (WebKitWebView *web_view, WebKitWebFrame *frame, WebKitNetworkRequest *request, WebKitWebNavigationAction *navigation_action, WebKitWebPolicyDecision *policy_decision, gpointer user_data);
WebKitWebView*
static void
set_var(WebKitWebView *page, GArray *argv);
+static void
+render_html();
+
+static void
+set_timeout(int seconds);
+
/* Command callbacks */
static void
static void
cmd_max_conns_host();
+/* exported WebKitWebSettings properties */
+
static void
cmd_font_size();
static void
+cmd_zoom_level();
+
+static void
cmd_disable_plugins();
static void
static void
cmd_caret_browsing();
-static void
-cmd_set_mode();
-
/* vi: set et ts=4: */