Personally, I just went ahead and edited:
/usr/lib/ruby/1.8/rexml/formatters/pretty.rb
--- pretty.rb 2008-10-28 09:13:23.000000000 -0400
+++ pretty.rb 2008-10-28 09:11:03.000000000 -0400
@@ -128,6 +128,7 @@
# Recursively wrap string at width.
return string if string.length <= width
place = string.rindex(' ', width) # Position in string with last ' ' before cutoff
+ return string if place == nil
return string[0,place] + "\n" + wrap(string[place+1..-1], width)
end
Seems to me a reasonable solution, but of course, depends on how the formatter is used I guess.
Oh, and I replaced the call to gnome-background-properties with gnome-appearance-properties --show-page=background in gnome-art
--- main_window.rb 2008-10-28 09:19:11.000000000 -0400
+++ main_window.rb 2008-10-28 09:16:23.000000000 -0400
@@ -374,7 +374,7 @@
end
FYI, after running into this myself I encountered following: rubyforge. org/tracker/ index.php? func=detail& aid=15048& group_id= 426&atid= 1698
http://
Personally, I just went ahead and edited: ruby/1. 8/rexml/ formatters/ pretty. rb
/usr/lib/
--- pretty.rb 2008-10-28 09:13:23.000000000 -0400 place+1. .-1], width)
+++ pretty.rb 2008-10-28 09:11:03.000000000 -0400
@@ -128,6 +128,7 @@
# Recursively wrap string at width.
return string if string.length <= width
place = string.rindex(' ', width) # Position in string with last ' ' before cutoff
+ return string if place == nil
return string[0,place] + "\n" + wrap(string[
end
Seems to me a reasonable solution, but of course, depends on how the formatter is used I guess.
Oh, and I replaced the call to gnome-backgroun d-properties with gnome-appearanc e-properties --show- page=background in gnome-art
--- main_window.rb 2008-10-28 09:19:11.000000000 -0400
+++ main_window.rb 2008-10-28 09:16:23.000000000 -0400
@@ -374,7 +374,7 @@
end
#open gnome-backgroun d-properties "gnome- background- properties &") "gnome- appearance- properties --show- page=background &") :Other_ themes_ splash_ screens
- system(
+ system(
when Config:
author = iter[2]