/[freeride]/freeride/plugins/rubyide_fox_gui/editpane.rb
ViewVC logotype

Diff of /freeride/plugins/rubyide_fox_gui/editpane.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by ljulliar, Sun Mar 23 22:32:23 2003 UTC revision 1.6 by ljulliar, Thu May 1 12:34:39 2003 UTC
# Line 52  module FreeRIDE Line 52  module FreeRIDE
52          plugin[ICON_PATH].subscribe do |event, slot|          plugin[ICON_PATH].subscribe do |event, slot|
53            if event == :notify_slot_add            if event == :notify_slot_add
54              app = slot['/system/ui/fox/FXApp'].data              app = slot['/system/ui/fox/FXApp'].data
55              path = "#{plugin.plugin_configuration.base_path}/icons/#{slot.name}.png"              path = "#{plugin.plugin_configuration.full_base_path}/icons/#{slot.name}.png"
56              if FileTest.exist?(path)              if FileTest.exist?(path)
57                slot.data = FXPNGIcon.new(app, File.open(path, "rb").read)                slot.data = FXPNGIcon.new(app, File.open(path, "rb").read)
58                slot.data.create                slot.data.create

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26