FYI, after running into this myself I encountered following:
http://rubyforge.org/tracker/index.php?func=detail&aid=15048&group_id=426&atid=1698

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
           
             #open gnome-background-properties
-               system("gnome-background-properties &")
+               system("gnome-appearance-properties --show-page=background &")
           when Config::Other_themes_splash_screens
             
             author = iter[2]

-- 
art manager closes unexpectedly
https://bugs.launchpad.net/bugs/108834
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to