From 9ea4d89df0ccd9764579e745458466acaa810cfd Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Wed, 25 May 2011 00:46:09 -0400 Subject: added reload (bypass cache). CTRL+E --- sb.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sb.c') diff --git a/sb.c b/sb.c index 972f8bf..1e099f0 100644 --- a/sb.c +++ b/sb.c @@ -42,10 +42,15 @@ if(b) { /* Basic reload function */ -void tab_reload() { +void tab_reload(gboolean b) { struct tab *t = get_tab(NULL, gtk_notebook_get_current_page(w.notebook)); +if(b) { webkit_web_view_reload(t->view); } +else { +webkit_web_view_reload_bypass_cache(t->view); +} +} /* close tab, and quit if there are no tabs */ -- cgit v1.2.3