diff options
author | mutantturkey <crazycal00@gmail.com> | 2011-05-25 00:46:09 -0400 |
---|---|---|
committer | mutantturkey <crazycal00@gmail.com> | 2011-05-25 00:46:09 -0400 |
commit | 9ea4d89df0ccd9764579e745458466acaa810cfd (patch) | |
tree | 442c08164f5c5a7668711c1a46943f64d3d5cd51 /sb.c | |
parent | 14d6f12d8cfaaf41c36772c7fef2cfd3c8687a99 (diff) |
added reload (bypass cache). CTRL+E
Diffstat (limited to 'sb.c')
-rw-r--r-- | sb.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 */ |