1 /* status bar elements */
8 GtkWidget* main_window;
10 GtkWidget* mainbar_label;
11 GtkScrollbar* scbar_v; // Horizontal and Vertical Scrollbar
12 GtkScrollbar* scbar_h; // (These are still hidden)
13 GtkAdjustment* bar_v; // Information about document length
14 GtkAdjustment* bar_h; // and scrolling position
15 WebKitWebView* web_view;
21 /* external communication*/
24 char socket_path[108];
32 gchar config_file_path[500];
36 SoupSession *soup_session;
37 SoupLogger *soup_logger;
45 /* main uzbl data structure */
61 eprint(const char *errstr, ...);
64 estrdup(const char *str);
70 new_window_cb (WebKitWebView *web_view, WebKitWebFrame *frame, WebKitNetworkRequest *request, WebKitWebNavigationAction *navigation_action, WebKitWebPolicyDecision *policy_decision, gpointer user_data);
73 create_web_view_cb (WebKitWebView *web_view, WebKitWebFrame *frame, gpointer user_data);
76 download_cb (WebKitWebView *web_view, GObject *download, gpointer user_data);
79 toggle_status_cb (WebKitWebView* page, const char *param);
82 link_hover_cb (WebKitWebView* page, const gchar* title, const gchar* link, gpointer data);
85 title_change_cb (WebKitWebView* web_view, WebKitWebFrame* web_frame, const gchar* title, gpointer data);
88 progress_change_cb (WebKitWebView* page, gint progress, gpointer data);
91 load_commit_cb (WebKitWebView* page, WebKitWebFrame* frame, gpointer data);
94 destroy_cb (GtkWidget* widget, gpointer data);
103 free_action(gpointer act);
106 new_action(const gchar *name, const gchar *param);
109 file_exists (const char * filename);
112 set_insert_mode(WebKitWebView *page, const gchar *param);
115 load_uri (WebKitWebView * web_view, const gchar *param);
118 new_window_load_uri (const gchar * uri);
121 close_uzbl (WebKitWebView *page, const char *param);
124 run_command(const char *command, const char *args);
127 spawn(WebKitWebView *web_view, const char *param);
130 parse_command(const char *cmd, const char *param);
133 parse_line(char *line);
136 build_stream_name(int type);
139 control_fifo(GIOChannel *gio, GIOCondition condition);
148 control_socket(GIOChannel *chan);
155 key_press_cb (WebKitWebView* page, GdkEventKey* event);
164 GtkWidget* create_window ();
167 add_binding (const gchar *key, const gchar *act);
173 search_text (WebKitWebView *page, const char *param);
176 run_js (WebKitWebView * web_view, const gchar *param);
179 str_replace (const char* search, const char* replace, const char* string);
181 /* vi: set et ts=4: */