set EXIF rotation not yet possible
authorgc <gc>
Sun, 29 Jul 2007 12:39:41 +0000 (12:39 +0000)
committergc <gc>
Sun, 29 Jul 2007 12:39:41 +0000 (12:39 +0000)
bin/booh-classifier

index f22e6283158cb917089041af4eea96d0d511c08e..bdfb3866ddea408a8757882f82a51cd0db68b617 100644 (file)
@@ -123,7 +123,7 @@ def read_config
     $config['browser'] ||= "/usr/bin/mozilla-firefox -remote 'openURL(%f,new-window)' || /usr/bin/mozilla-firefox %f"
     $config['preload-distance'] ||= '5'
     $config['cache-memory-use'] ||= 'memfree_80%'
-    $config['rotate-set-exif'] ||= 'true'
+#    $config['rotate-set-exif'] ||= 'true'
     set_cache_memory_use_figure
 end
 
@@ -1241,10 +1241,10 @@ def preferences
         cache_specify_spin.value = $config['cache-memory-use'].to_i
     end
 
-    tbl.attach(update_exif_orientation_check = Gtk::CheckButton.new(utf8(_("Update file's EXIF orientation when rotating a picture"))),
-               0, 2, 4, 5, Gtk::FILL, Gtk::SHRINK, 2, 2)
-    tooltips.set_tip(update_exif_orientation_check, utf8(_("When rotating a picture (Alt-Right/Left), also update EXIF orientation in the file itself")), nil)
-    update_exif_orientation_check.active = $config['rotate-set-exif']
+#    tbl.attach(update_exif_orientation_check = Gtk::CheckButton.new(utf8(_("Update file's EXIF orientation when rotating a picture"))),
+#               0, 2, 4, 5, Gtk::FILL, Gtk::SHRINK, 2, 2)
+#    tooltips.set_tip(update_exif_orientation_check, utf8(_("When rotating a picture (Alt-Right/Left), also update EXIF orientation in the file itself")), nil)
+#    update_exif_orientation_check.active = $config['rotate-set-exif']
 
     dialog.vbox.show_all
     dialog.run { |response|
@@ -1252,7 +1252,7 @@ def preferences
             $config['video-viewer'] = from_utf8(video_viewer_entry.text)
             $config['browser'] = from_utf8(browser_entry.text)
             $config['preload-distance'] = preload_distance.value
-            $config['rotate-set-exif'] = update_exif_orientation_check.active?
+#            $config['rotate-set-exif'] = update_exif_orientation_check.active?
             if cache_memfree_radio.active?
                 $config['cache-memory-use'] = "memfree_#{cache_memfree_spin.value}%"
             else