Permalink
Browse files

remove references to the mysteriously absent restore_last_session for…

… now
  • Loading branch information...
1 parent add43fc commit 85209af9f7b7944c2f6c52729d28ea2ea8cda5a2 @rdp rdp committed Apr 3, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 plugins/project/lib/project/drb_service.rb
@@ -31,7 +31,7 @@ def open_item_drb(full_path, untitled = false, wait = false)
# directory, restores the complete session.
def open_directory(full_path)
if Redcar.app.windows.empty? and Application.storage['last_open_dir'] == full_path
- Project::Manager.restore_last_session
+ # Project::Manager.restore_last_session
end
Redcar::Project.window_projects.each_pair do |window, project|
@@ -43,7 +43,7 @@ def open_directory(full_path)
## Focuses a Redcar window
def bring_to_front
- Project::Manager.restore_last_session if Redcar.app.windows.empty?
+ #Project::Manager.restore_last_session if Redcar.app.windows.empty?
bring_window_to_front
end
@@ -56,7 +56,7 @@ def bring_window_to_front(win = Redcar.app.focussed_window)
# Opens a file, optionally untitled, and waits for it to close, if requested
def open_file(file, untitled, wait)
file_open_block = Proc.new do
- Project::Manager.restore_last_session if Redcar.app.windows.empty?
+ #Project::Manager.restore_last_session if Redcar.app.windows.empty?
if untitled
Project::Manager.open_untitled_path(file)
else

0 comments on commit 85209af

Please sign in to comment.