/[freeride]/freeride/plugins/rubyide_tools_fox_debugger/fox_debugger.rb
ViewVC logotype

Diff of /freeride/plugins/rubyide_tools_fox_debugger/fox_debugger.rb

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

revision 1.9 by ljulliar, Sun Mar 23 22:38:59 2003 UTC revision 1.10 by ljulliar, Thu May 1 12:34:39 2003 UTC
# Line 34  module FreeRIDE Line 34  module FreeRIDE
34          plugin[ICON_PATH].subscribe do |event, slot|          plugin[ICON_PATH].subscribe do |event, slot|
35            if event == :notify_slot_add            if event == :notify_slot_add
36              app = plugin['/system/ui/fox/FXApp'].data              app = plugin['/system/ui/fox/FXApp'].data
37              path = "#{plugin.plugin_configuration.base_path}/icons/#{slot.name}.png"              path = "#{plugin.plugin_configuration.full_base_path}/icons/#{slot.name}.png"
38              if FileTest.exist?(path)              if FileTest.exist?(path)
39                slot.data = Fox::FXPNGIcon.new(app, File.open(path, "rb").read)                slot.data = Fox::FXPNGIcon.new(app, File.open(path, "rb").read)
40                slot.data.create                slot.data.create

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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