Skip to content

Commit

Permalink
fixed a bad copy/paste
Browse files Browse the repository at this point in the history
  • Loading branch information
mattetti committed Aug 4, 2009
1 parent cb1861f commit 4f0bebd
Showing 1 changed file with 1 addition and 48 deletions.
Expand Up @@ -45,51 +45,4 @@ def on_bring_all_to_front(menu)

end

Application.new.start
require 'hotcocoa'
SOURCE_DIR = File.expand_path(File.dirname(__FILE__))
require SOURCE_DIR + '/nib_controller'
require SOURCE_DIR + '/custom_view'
require SOURCE_DIR + '/custom_window'

# Replace the following code with your own hotcocoa code

class Application

include HotCocoa

def start
application :name => "HotCocoa: Round Transparent Window" do |app|
app.delegate = self
# load our nib
NibController.new
end
end

# file/open
def on_open(menu)
end

# file/new
def on_new(menu)
end

# help menu item
def on_help(menu)
end

# This is commented out, so the minimize menu item is disabled
#def on_minimize(menu)
#end

# window/zoom
def on_zoom(menu)
end

# window/bring_all_to_front
def on_bring_all_to_front(menu)
end

end

Application.new.start
Application.new.start

0 comments on commit 4f0bebd

Please sign in to comment.