public
Fork of Caged/gitnub
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for an early screenshot
Homepage: http://alternateidea.com
Clone URL: git://github.com/evilchelu/gitnub.git
Search Repo:
Caged (author)
Mon Mar 03 03:11:47 -0800 2008
commit  cc55a4495280ad8e7ef85ed591e7f420514e4589
tree    2886d648c3723eb525c09e295d41ac1563adccf2
parent  87d207d09611c3635b29e6d458aade10831e73f0
gitnub / ApplicationController.rb
100644 24 lines (21 sloc) 0.519 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# ApplicationController.rb
# GitNub
#
# Created by Justin Palmer on 3/1/08.
# Copyright (c) 2008 Active Reload, LLC. All rights reserved.
#
 
require 'osx/cocoa'
require 'rubygems'
require 'grit'
 
include OSX
OSX.ns_import 'ImageTextCell'
 
class ApplicationController < OSX::NSObject
  ib_outlet :commits_table, :commits_controller
  def awakeFromNib
    column = @commits_table.tableColumns[0]
    cell = ImageTextCell.alloc.init
    column.dataCell = cell
    cell.dataDelegate = @commits_controller
  end
end