~ubuntu-branches/ubuntu/lucid/transmission/lucid

« back to all changes in this revision

Viewing changes to macosx/CreatorWindowController.m

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Klimonda
  • Date: 2009-06-16 02:41:48 UTC
  • mfrom: (1.1.25 upstream) (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090616024148-kap504e2oaerwcah
Tags: 1.72-1ubuntu1
* Merge from debian unstable (LP: #388377), remaining changes:
  - debian/control:
    + Added replaces & provides clutch (now included as part of transmission).
    + add quilt, liblaunchpad-integration and libtool to Build-Depends
  - debian/rules:
    + Create a PO template during package build.
    + re-enable quilt
    + run autoreconf for launchpad-integration
  - debian/patches/01_lpi.patch:
    + Integrate Transmission with Launchpad
  - debian/patches/20_add_X-Ubuntu-Gettext-Domain.diff:
    + Add X-Ubuntu-Gettext-Domain to .desktop file.
* Closes Launchpad bugs:
  - Use tooltip to notify user of added torrent (LP: #217171)
  - Transmission forgets torrent when adding several (LP: #259123)
  - Unable to sort files in torrent by Progress, Download nor Priority.
    (LP: #300359)
  - "Revert" and "Remove" uses same alt-key in Torrent Tracker Details
    (LP: #311064)
  - transmission crashed with SIGSEGV in g_closure_invoke() (LP: #334104)
  - Bring transmission to the top when adding a torrent (LP: #353777)
  - Focus should not be on "Don't ask me again" when I quit Transmission
    (LP: #359268)
  - [karmic] removing download items makes property window useless
    (LP: #385334)
  - transmission doesn't remember maximized state (LP: #385982)
  - Transmission 1.71 (8646) crashes when changing download speed
    (LP: #386877)
  - transmission: event.c:875: timeout_next: Assertion `tv->tv_usec >= 0'
    failed. (LP: #387564)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/******************************************************************************
2
 
 * $Id: CreatorWindowController.m 8181 2009-04-08 18:47:48Z charles $
 
2
 * $Id: CreatorWindowController.m 8675 2009-06-11 23:02:54Z livings124 $
3
3
 *
4
4
 * Copyright (c) 2007-2009 Transmission authors and contributors
5
5
 *
213
213
    [panel setMessage: NSLocalizedString(@"Select the name and location for the torrent file.",
214
214
                                        "Create torrent -> location sheet -> message")]; 
215
215
    
216
 
    [panel setRequiredFileType: @"org.bittorrent.torrent"];
 
216
    [panel setAllowedFileTypes: [NSArray arrayWithObjects: @"org.bittorrent.torrent", @"torrent", nil]];
217
217
    [panel setCanSelectHiddenExtension: YES];
218
218
    
219
219
    [panel beginSheetForDirectory: [fLocation stringByDeletingLastPathComponent] file: [fLocation lastPathComponent]