We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: A buildbot GUI for OS X
Homepage: http://code.google.com/p/buildwatch/
Clone URL: git://github.com/dustin/buildwatch.git
dustin (author)
Tue Mar 11 10:20:38 -0700 2008
commit  daf0ee4e2a97dca92305a709c0e3c6585dafbf5e
tree    5ebb0b04559c89caefd8048ecb693c141fb90544
parent  efd15c6af43be9ee998a47b06d1357d9196521c0 parent  aa833e7ebc8e74d3d42e576a7707199d93c4be3b
buildwatch / PrefController.m
100644 26 lines (20 sloc) 0.552 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
25
26
//
// PrefController.m
// BuildWatch
//
// Created by Dustin Sallings on 3/10/08.
// Copyright 2008 Dustin Sallings <dustin@spy.net>. All rights reserved.
//
 
#import "PrefController.h"
 
 
@implementation PrefController
 
- (IBAction) savePrefs:(id)sender {
  NSLog(@"Saving preferences.");
  [defController save:self];
  [[self window] orderOut:self];
  if(NSRunAlertPanel(@"Restart Required",
      @"Because I'm lame, you must restart this application for your changes to take effect.",
      @"Quit", @"Don't Quit", nil)) {
    [NSApp stop:self];
  }
}
 
@end