Parent Directory | Revision Log | Patch
revision 1.17 by ljulliar, Wed Jul 2 20:31:59 2003 UTC | revision 1.18 by ljulliar, Mon Sep 1 21:49:28 2003 UTC | |
---|---|---|
# | Line 140 module FreeRIDE | Line 140 module FreeRIDE |
140 | # Finally restore files edited in the previous session | # Finally restore files edited in the previous session |
141 | component_slot.each_slot do |slot| | component_slot.each_slot do |slot| |
142 | slot.notify(:notify_slot_add) | slot.notify(:notify_slot_add) |
143 | slot['actions/load_file'].invoke(slot.data) | slot.manager.load_file(slot.data) |
144 | slot.notify(:notify_data_set) | slot.notify(:notify_data_set) |
145 | end | end |
146 | ||
# | Line 231 module FreeRIDE | Line 231 module FreeRIDE |
231 | def get_ext_object | def get_ext_object |
232 | @controller.model | @controller.model |
233 | end | end |
234 | ||
235 | def filename | def filename |
236 | @slot.manager.filename | @slot.manager.filename |
237 | end | end |
238 | ||
239 | def load_file(filename, breakpoints=nil) | def load_file(filename, breakpoints=nil) |
240 | loaded = false | loaded = false |
# | Line 384 module FreeRIDE | Line 384 module FreeRIDE |
384 | def modified=(flag) | def modified=(flag) |
385 | if flag | if flag |
386 | icon = @icons['modified'].data | icon = @icons['modified'].data |
#@plugin.log_info << "DBG: icon type #{icon.data.class}" | ||
387 | @tab.icon = icon | @tab.icon = icon |
388 | else | else |
389 | @tab.setIcon(nil) | @tab.setIcon(nil) |
# | Line 958 module FreeRIDE | Line 957 module FreeRIDE |
957 | ||
958 | end | end |
959 | end | end |
960 |