allow to remove a thumbnail from its fullsize view
authorgc <gc>
Sun, 22 May 2005 17:35:46 +0000 (17:35 +0000)
committergc <gc>
Sun, 22 May 2005 17:35:46 +0000 (17:35 +0000)
bin/booh

index e7ab0a915766222bafbf417680d5a450304964b2..11c81bd93c369e699fce9ddda25d7ca2c4861db7 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -1009,15 +1009,17 @@ def try_quit
         
         dialog.run { |response|
             dialog.destroy
-            if response == Gtk::Dialog::RESPONSE_CANCEL
-                return
-            elsif response == Gtk::Dialog::RESPONSE_YES
+            if response == Gtk::Dialog::RESPONSE_YES
                 save_current_file
+                Gtk.main_quit
+            elsif response == Gtk::Dialog::RESPONSE_NO
+                Gtk.main_quit
             end
         }
-    end
 
-    Gtk.main_quit
+    else
+        Gtk.main_quit
+    end
 end
 
 def show_popup(parent, msg, *options)