changeset 21:c083232ced42

Added SubtlyBrowserReload and SubtlyBrowserReloadCache command
author unexist
date Fri, 22 Jan 2010 13:32:30 +0100
parents dafbdaa3a699
children 80c19b39f3f6
files subtly/browser.rb
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/subtly/browser.rb	Fri Jan 22 13:32:08 2010 +0100
+++ b/subtly/browser.rb	Fri Jan 22 13:32:30 2010 +0100
@@ -182,6 +182,10 @@
           @webkit.back
         when :SubtlyBrowserForward then
           @webkit.forward
+        when :SubtlyBrowerReloadCache then
+          @webkit.reload(true)
+        when :SubtlyBrowerReload then
+          @webkit.reload(false)
         when :SubtlyScrollTop
           @scrolled.vadjust = 0.0
           @page.text        = format_page(0)