remove nick style
authorgc <gc>
Sun, 8 May 2005 15:32:56 +0000 (15:32 +0000)
committergc <gc>
Sun, 8 May 2005 15:32:56 +0000 (15:32 +0000)
bin/booh

index 522a54df2e31966239d6503c8b18e45a9a04fdc1..8cf429ff79dc7aca9b62df0abb14c06a65fa8bf9 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -300,12 +300,12 @@ def rotate_real(angle, thumbnail_img, img, xmlelem, attributes_prefix, desired_x
     $modified = true
 
     #- update rotate attribute
-    xmlelem.add_attribute("#{attributes_prefix}rotate", current_angle = ( xmlelem.attributes["#{attributes_prefix}rotate"].to_i + angle ) % 360)
+    xmlelem.add_attribute("#{attributes_prefix}rotate", current_angle = (xmlelem.attributes["#{attributes_prefix}rotate"].to_i + angle) % 360)
 
     if !$rotated_pixbufs[thumbnail_img]
         $rotated_pixbufs[thumbnail_img] = { :orig => img.pixbuf, :angle_to_orig => angle % 360 }
     else
-        $rotated_pixbufs[thumbnail_img][:angle_to_orig] = ( $rotated_pixbufs[thumbnail_img][:angle_to_orig] + angle ) % 360
+        $rotated_pixbufs[thumbnail_img][:angle_to_orig] = ($rotated_pixbufs[thumbnail_img][:angle_to_orig] + angle) % 360
     end
     msg 3, "angle: #{angle}, angle to orig: #{$rotated_pixbufs[thumbnail_img][:angle_to_orig]}"
 
@@ -1778,7 +1778,7 @@ def create_menu_and_toolbar
         save_current_file
         perform_in_background("booh-backend --config '#{$filename}' --verbose-level #{$verbose_level} #{additional_booh_options}",
                               utf8(_("Please wait while generating web-album...\nThis may take a while, please be patient.")),
-                              { :successmsg => utf8(_("Your web-album is now ready in directory `%s'.") % $xmldoc.root.attributes['destination'] ),
+                              { :successmsg => utf8(_("Your web-album is now ready in directory `%s'.") % $xmldoc.root.attributes['destination']),
                                 :failuremsg => utf8(_("There was something wrong when generating the web-album, sorry.")) })
     }
     $properties.signal_connect('activate') { properties }