Changeset 3327


Ignore:
Timestamp:
Oct 8, 2007, 11:51:58 AM (14 years ago)
Author:
livings124
Message:

double click progress string in main window instead of single click to toggle it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentTableView.m

    r3193 r3327  
    142142        else
    143143        {
    144             if ([self pointInProgressRect: fClickPoint])
    145             {
    146                 [fDefaults setBool: ![fDefaults boolForKey: @"DisplayStatusProgressSelected"]
    147                                         forKey: @"DisplayStatusProgressSelected"];
    148                 fClickPoint = NSZeroPoint;
    149                 [self reloadData];
    150             }
    151             else if ([self pointInMinimalStatusRect: fClickPoint])
     144            if ([self pointInMinimalStatusRect: fClickPoint])
    152145            {
    153146                [fDefaults setBool: ![fDefaults boolForKey: @"DisplaySmallStatusRegular"] forKey: @"DisplaySmallStatusRegular"];
     
    188181    else if ([event clickCount] == 2 && !NSEqualPoints(fClickPoint, NSZeroPoint))
    189182    {
    190         if ([self pointInIconRect: point])
     183        if ([self pointInProgressRect: fClickPoint])
     184        {
     185            [fDefaults setBool: ![fDefaults boolForKey: @"DisplayStatusProgressSelected"] forKey: @"DisplayStatusProgressSelected"];
     186            [self reloadData];
     187        }
     188        else if ([self pointInIconRect: point])
    191189            [[fTorrents objectAtIndex: row] revealData];
    192190        else if (![self pointInActionRect: point])
Note: See TracChangeset for help on using the changeset viewer.