We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ 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/dustin/gitnub.git
kballard (author)
Fri Mar 21 20:23:29 -0700 2008
commit  641904f03793f40db6227ff6768434d49be1ce33
tree    044bcc60dd0258ea5234a600b696d2fe5db3d790
parent  5ff35a947aa9cb8ee3decf08011292d1c1de8599 parent  8e524db36f0c2c9949ab8b3b7a45d0482ac2c78d
gitnub / TexturedWindow.rb
100644 19 lines (16 sloc) 0.458 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# 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