*** empty log message ***
authorgc <gc>
Sat, 6 Jan 2007 18:18:08 +0000 (18:18 +0000)
committergc <gc>
Sat, 6 Jan 2007 18:18:08 +0000 (18:18 +0000)
bin/booh

index 5e0bc3250cea75cfc929c59910b876edda67eef1..c446737ffbee16748223723d5073a874c828606a 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -282,7 +282,7 @@ def view_element(filename, closures)
             menu.append(delete_item  = Gtk::ImageMenuItem.new(Gtk::Stock::DELETE))
             delete_item.signal_connect('activate') {
                 w.destroy
             menu.append(delete_item  = Gtk::ImageMenuItem.new(Gtk::Stock::DELETE))
             delete_item.signal_connect('activate') {
                 w.destroy
-                closures[:delete].call
+                closures[:delete].call(false)
             }
             menu.show_all
             menu.popup(nil, nil, event.button, event.time)
             }
             menu.show_all
             menu.popup(nil, nil, event.button, event.time)
@@ -293,7 +293,7 @@ def view_element(filename, closures)
             if (($gesture_press[:y]-event.y)/($gesture_press[:x]-event.x)).abs > 2 && event.y-$gesture_press[:y] > 5
                 msg 3, "gesture delete: click-drag right button to the bottom"
                 w.destroy
             if (($gesture_press[:y]-event.y)/($gesture_press[:x]-event.x)).abs > 2 && event.y-$gesture_press[:y] > 5
                 msg 3, "gesture delete: click-drag right button to the bottom"
                 w.destroy
-                closures[:delete].call
+                closures[:delete].call(false)
                 $statusbar.push(0, utf8(_("Mouse gesture: delete.")))
             end
         end
                 $statusbar.push(0, utf8(_("Mouse gesture: delete.")))
             end
         end
@@ -304,7 +304,7 @@ def view_element(filename, closures)
     w.signal_connect('key-press-event') { |w,event|
         if event.state & Gdk::Window::CONTROL_MASK != 0 && event.keyval == Gdk::Keyval::GDK_Delete
             w.destroy
     w.signal_connect('key-press-event') { |w,event|
         if event.state & Gdk::Window::CONTROL_MASK != 0 && event.keyval == Gdk::Keyval::GDK_Delete
             w.destroy
-            closures[:delete].call
+            closures[:delete].call(false)
         end
     }
 
         end
     }