/[freeride]/freeride/plugins/rubyide_tools_fox_file_browser/file_browser.rb
ViewVC logotype

Diff of /freeride/plugins/rubyide_tools_fox_file_browser/file_browser.rb

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

revision 1.1.1.1 by richkilmer, Fri Dec 20 17:27:31 2002 UTC revision 1.2 by richkilmer, Sat Dec 21 04:25:41 2002 UTC
# Line 3  Line 3 
3  # $Id$  # $Id$
4  #  #
5  # Authors:  Laurent Julliard <laurent AT moldus DOT org>  # Authors:  Laurent Julliard <laurent AT moldus DOT org>
6  # Contributors:  # Contributors: Rich Kilmer <rich@infoether.com>
7  #  #
8  # This file is part of the FreeRIDE project  # This file is part of the FreeRIDE project
9  #  #
# Line 82  module FreeRIDE Line 82  module FreeRIDE
82          dirlist.setPattern(filetypes)          dirlist.setPattern(filetypes)
83          dirlist.connect(SEL_DOUBLECLICKED) { |sender, sel, item|          dirlist.connect(SEL_DOUBLECLICKED) { |sender, sel, item|
84            if dirlist.isItemFile(item)            if dirlist.isItemFile(item)
85              plugin.properties["LastFile"] = dirlist.getItemPathname(item) #dirlist.directory              pathname = dirlist.getItemPathname(item)
86              @cmd_mgr.command("App/File/Load").invoke(dirlist.getItemPathname(item))              plugin.properties["LastFile"] = pathname #dirlist.directory
87                @cmd_mgr.command("App/File/Load").invoke(pathname)
88            else            else
89              dirlist.expandTree(item, !item.expanded?)              dirlist.expandTree(item, !item.expanded?)
90            end            end

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

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