~ubuntu-branches/ubuntu/quantal/terminal.app/quantal

« back to all changes in this revision

Viewing changes to TerminalWindowPrefs.m

  • Committer: Package Import Robot
  • Author(s): Yavor Doganov
  • Date: 2012-06-14 13:55:31 UTC
  • mfrom: (4.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20120614135531-xbagikvsm7nmcq25
Tags: 0.9.8-1
* New upstream release:
  + Fixes FTBFS with ld that defaults to --as-needed (Closes: #639040).
* TerminalParser_LinuxPrefs.m:
* TerminalView.m (-initWithFrame:):
* TerminalViewPrefs.m:
* ServicesPrefs.m: Revert all direct modifications.
* debian/control (Maintainer, Uploaders): Make the team maintainer, add
  myself.
  (Section): Change to `gnustep'.
  (Build-Depends): Require debhelper >= 8.  Remove version requirement
  for libgnustep-gui-dev.  Add dpkg-dev (>= 1.16.1~) and imagemagick.
  Drop gnustep-make.
  (Homepage): Point to the new location.
  (Vcs-Git, Vcs-Browser): New fields.
  (Conflicts, Replaces): Remove, no longer needed.
  (Depends): Add ${misc:Depends}.
  (Standards-Version): Claim compliance with 3.9.3 as of this release.
* debian/compat: Bump to 8.
* debian/rules: Get rid of gs_make.  Enable hardening, verbose builds,
  support for `noopt'.
  (d_app): New convenience variable.
  (build-stamp): Convert the app icon in XPM format.
  (clean): Delete the generated icon.
  (install): Replace the deprecated `dh_clean -k' with dh_prep.  Don't
  install lintian overrides.  Install the XPM icon.
  (binary-arch): Remove unnecessary arguments to dh_installman and
  dh_shlibdeps.  Move arch-independent Resources to /usr/share.
* debian/source/format: New file; set format to 3.0 (quilt).
* debian/overrides: Delete.
* debian/prerm: Don't ignore errors.
* debian/preinst:
* debian/watch: New file.
* debian/menu: Add icon.
* debian/Terminal.desktop: Make it valid.  Add Bulgarian translation.
* debian/Terminal.1: Fix errors from man.  Update homepage.
* debian/docs: Delete; duplicated by the manpage.
* debian/copyright: Switch to format 1.0, update copyright years, add
  many copyright holders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
copyright 2002, 2003 Alexander Malmberg <alexander@malmberg.org>
3
3
 
 
4
2009-2010 GAP Project
 
5
 
4
6
This file is a part of Terminal.app. Terminal.app is free software; you
5
7
can redistribute it and/or modify it under the terms of the GNU General
6
8
Public License as published by the Free Software Foundation; version 2
7
9
of the License. See COPYING or main.m for more information.
8
10
*/
9
11
 
10
 
#include <Foundation/NSBundle.h>
11
 
#include <Foundation/NSString.h>
12
 
#include <Foundation/NSUserDefaults.h>
13
 
#include <AppKit/NSBox.h>
14
 
#include <AppKit/NSButton.h>
15
 
#include <AppKit/NSMatrix.h>
16
 
#include <AppKit/NSTextField.h>
17
 
#include <GNUstepGUI/GSTable.h>
18
 
#include <GNUstepGUI/GSVbox.h>
19
 
#include "Label.h"
 
12
#import <Foundation/NSBundle.h>
 
13
#import <Foundation/NSString.h>
 
14
#import <Foundation/NSUserDefaults.h>
 
15
#import <AppKit/NSBox.h>
 
16
#import <AppKit/NSButton.h>
 
17
#import <AppKit/NSMatrix.h>
 
18
#import <AppKit/NSTextField.h>
 
19
#import <GNUstepGUI/GSTable.h>
 
20
#import <GNUstepGUI/GSVbox.h>
 
21
#import "Label.h"
20
22
 
21
23
#include "TerminalWindowPrefs.h"
22
24
 
185
187
                                [f setAutoresizingMask: NSViewWidthSizable];
186
188
                                [f sizeToFit];
187
189
                                [t putView: f atRow: 1 column: 1];
 
190
                                [f release];
188
191
 
189
192
                                f=[NSTextField newLabel: _(@"Height:")];
190
193
                                [f setAutoresizingMask: NSViewMinXMargin|NSViewMinYMargin|NSViewMaxYMargin];
194
197
                                [f setAutoresizingMask: NSViewWidthSizable];
195
198
                                [f sizeToFit];
196
199
                                [t putView: f atRow: 0 column: 1];
 
200
                                [f release];
197
201
 
198
202
                                [b setContentView: t];
199
203
                                [b sizeToFit];