Changeset 4458 for trunk/gtk/main.c


Ignore:
Timestamp:
Jan 3, 2008, 11:54:29 PM (15 years ago)
Author:
charles
Message:

disable the `details' button if more than one torrent is selected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r4428 r4458  
    203203    action_sensitize( "remove-torrent", counts.totalCount!=0 );
    204204    action_sensitize( "verify-torrent", counts.totalCount!=0 );
    205     action_sensitize( "show-torrent-details", counts.totalCount!=0 );
     205    action_sensitize( "show-torrent-details", counts.totalCount==1 );
    206206
    207207    canUpdate = 0;
Note: See TracChangeset for help on using the changeset viewer.