changeset 13:13c2eeefadca

Added command handler for back/forward
author unexist
date Mon, 14 Dec 2009 00:46:32 +0100
parents 3754aca8433a
children ba26532e98c7
files subtly/browser.rb
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/subtly/browser.rb	Mon Dec 14 00:46:17 2009 +0100
+++ b/subtly/browser.rb	Mon Dec 14 00:46:32 2009 +0100
@@ -122,6 +122,10 @@
           @mode             = :command
           @webkit.focusable = false
           @input.text       = ""
+        when :SubtlyBrowserBack then
+          @webkit.back
+        when :SubtlyBrowserForward then
+          @webkit.forward
         when :SubtlyQuit then
           Subtly::Gtk::Runner.ffi_quit 
       end