mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
disable the `details' button if more than one torrent is selected.
This commit is contained in:
parent
04eea11fbe
commit
6c1c7d5cf7
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ refreshTorrentActions( GtkTreeSelection * s )
|
|||
action_sensitize( "start-torrent", counts.inactiveCount!=0 );
|
||||
action_sensitize( "remove-torrent", counts.totalCount!=0 );
|
||||
action_sensitize( "verify-torrent", counts.totalCount!=0 );
|
||||
action_sensitize( "show-torrent-details", counts.totalCount!=0 );
|
||||
action_sensitize( "show-torrent-details", counts.totalCount==1 );
|
||||
|
||||
canUpdate = 0;
|
||||
gtk_tree_selection_selected_foreach( s, accumulateCanUpdateForeach, &canUpdate );
|
||||
|
|
Loading…
Reference in a new issue