aboutsummaryrefslogtreecommitdiff
path: root/sb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sb.c')
-rw-r--r--sb.c7
1 files changed, 6 insertions, 1 deletions
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 */