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];
35 /* main uzbl data structure */
50 eprint(const char *errstr
, ...);
53 estrdup(const char *str
);
59 new_window_cb (WebKitWebView
*web_view
, WebKitWebFrame
*frame
, WebKitNetworkRequest
*request
, WebKitWebNavigationAction
*navigation_action
, WebKitWebPolicyDecision
*policy_decision
, gpointer user_data
);
62 create_web_view_cb (WebKitWebView
*web_view
, WebKitWebFrame
*frame
, gpointer user_data
);
65 download_cb (WebKitWebView
*web_view
, GObject
*download
, gpointer user_data
);
68 toggle_status_cb (WebKitWebView
* page
, const char *param
);
71 link_hover_cb (WebKitWebView
* page
, const gchar
* title
, const gchar
* link
, gpointer data
);
74 title_change_cb (WebKitWebView
* web_view
, WebKitWebFrame
* web_frame
, const gchar
* title
, gpointer data
);
77 progress_change_cb (WebKitWebView
* page
, gint progress
, gpointer data
);
80 load_commit_cb (WebKitWebView
* page
, WebKitWebFrame
* frame
, gpointer data
);
83 destroy_cb (GtkWidget
* widget
, gpointer data
);
92 free_action(gpointer act
);
95 new_action(const gchar
*name
, const gchar
*param
);
98 file_exists (const char * filename
);
101 set_insert_mode(WebKitWebView
*page
, const gchar
*param
);
104 load_uri (WebKitWebView
* web_view
, const gchar
*param
);
107 new_window_load_uri (const gchar
* uri
);
110 close_uzbl (WebKitWebView
*page
, const char *param
);
113 run_command(const char *command
, const char *args
);
116 spawn(WebKitWebView
*web_view
, const char *param
);
119 parse_command(const char *cmd
, const char *param
);
122 parse_line(char *line
);
125 build_stream_name(int type
);
128 control_fifo(GIOChannel
*gio
, GIOCondition condition
);
137 control_socket(GIOChannel
*chan
);
144 key_press_cb (WebKitWebView
* page
, GdkEventKey
* event
);
153 GtkWidget
* create_window ();
156 add_binding (const gchar
*key
, const gchar
*act
);
162 search_text (WebKitWebView
*page
, const char *param
);
165 run_js (WebKitWebView
* web_view
, const gchar
*param
);
168 str_replace (const char* search
, const char* replace
, const char* string
);
170 /* vi: set et ts=4: */