support Shift-Tab (Left-Tab) for fast thumbnails navigation too
authorgc <gc>
Sun, 11 Nov 2007 22:33:24 +0000 (22:33 +0000)
committergc <gc>
Sun, 11 Nov 2007 22:33:24 +0000 (22:33 +0000)
bin/booh

index 68454e01d61aaa8e041ec01df23b92dab0c41e26..fb8066082e899a44604070d33144f8ff39256beb 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -370,7 +370,7 @@ def create_editzone(scrolledwindow, pagenum, image)
     frame.add(textview = Gtk::TextView.new.set_wrap_mode(Gtk::TextTag::WRAP_WORD))
     frame.set_shadow_type(Gtk::SHADOW_IN)
     textview.signal_connect('key-press-event') { |w, event|
-        textview.set_editable(event.keyval != Gdk::Keyval::GDK_Tab)
+        textview.set_editable(event.keyval != Gdk::Keyval::GDK_Tab && event.keyval != Gdk::Keyval::GDK_ISO_Left_Tab)
         if event.keyval == Gdk::Keyval::GDK_Page_Up || event.keyval == Gdk::Keyval::GDK_Page_Down
             scrolledwindow.signal_emit('key-press-event', event)
         end