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;
gchar *socket_path;
/* stores (key)"variable name" -> (value)"pointer to this var*/
GHashTable *proto_var;
- /* command parsing regexes */
- GRegex *act_regex;
gchar *sync_stdout;
} Communication;
guint font_size;
guint monospace_size;
guint minimum_font_size;
+ gfloat zoom_level;
guint disable_plugins;
guint disable_scripts;
guint autoload_img;
static gboolean
set_var_value(gchar *name, gchar *val);
-static gboolean
-get_var_value(const gchar *name);
+static void
+print(WebKitWebView *page, GArray *argv);
static gboolean
new_window_cb (WebKitWebView *web_view, WebKitWebFrame *frame, WebKitNetworkRequest *request, WebKitWebNavigationAction *navigation_action, WebKitWebPolicyDecision *policy_decision, gpointer user_data);
parse_command(const char *cmd, const char *param);
static void
-runcmd(WebKitWebView *page, GArray *argv);
-
-static void
parse_cmd_line(const char *ctl_line);
static gchar*
set_var(WebKitWebView *page, GArray *argv);
static void
-get_var(WebKitWebView *page, GArray *argv);
-
-static void
act_bind(WebKitWebView *page, GArray *argv);
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