code cleanup
authorTilman Sauerbeck <tilman@code-monkey.de>
Sun, 21 May 2006 15:00:00 +0000 (17:00 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 21 May 2006 15:00:00 +0000 (17:00 +0200)
bin/embrace

index b82449c932e5558810d2aadc403ccd2e8a1e6f97..5673f88c9a701cd72204b8cf822134d70c967e8a 100755 (executable)
@@ -120,7 +120,6 @@ module Embrace
                        @objects.each { |o| add_member(o) }
 
                        @img.set_color(255, 255, 255, 0)
                        @objects.each { |o| add_member(o) }
 
                        @img.set_color(255, 255, 255, 0)
-                       @label.set_color(255, 255, 255, 0)
                        @label.set_color(255, 0, 0, 0)
 
                        @img.set_file(ICON_FILE)
                        @label.set_color(255, 0, 0, 0)
 
                        @img.set_file(ICON_FILE)
@@ -276,10 +275,6 @@ module Embrace
                        end
                end
 
                        end
                end
 
-               def length
-                       @icons.nitems
-               end
-
                # smart callbacks
                def on_show
                        @bg.show
                # smart callbacks
                def on_show
                        @bg.show