public this repo is viewable by everyone
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/Caged/gitnub.git
Click here to lend your support to: gitnub and make a donation at www.pledgie.com !
Caged (author)
about 1 month ago
commit  87c0a61921d76f4e5076798b398bc69bf9e0d990
tree    bcb8590df6ad2ef7b8bc4cefd6ec0749faf2f1b5
parent  596435407c1f88e809816cd40e3c19ab6db7ea52
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