Take the 2008 Git User's Survey and help out! [ hide ]

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 downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/bricooke/gitnub.git
Search Repo:
kballard (author)
Fri Mar 21 21:46:00 -0700 2008
commit  3548f5318d2069440a30657c713a8b5ed70a7216
tree    4215e5e82d998aa1b54e0de8f10ddd2e6f46b86b
parent  8f6a2803d0447882cd3db0ddc2731d8ffd1b244f
gitnub / TexturedWindow.rb
100644 18 lines (16 sloc) 0.458 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# TexturedWindow.rb
# GitNub
#
# Created by Justin Palmer on 3/2/08.
# Copyright (c) 2008 Active Reload, LLC. All rights reserved.
#
 
require 'osx/cocoa'
 
class TexturedWindow < OSX::NSWindow
  def initWithContentRect_styleMask_backing_defer(rect, mask, backing, defer)
    if super_initWithContentRect_styleMask_backing_defer(rect, mask, backing, defer)
      self.setContentBorderThickness_forEdge(44.0, NSMinYEdge)
    end
    return self
  end
end