1
0
Fork 0
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:
Charles Kerr 2008-01-03 23:54:29 +00:00
parent 04eea11fbe
commit 6c1c7d5cf7

View file

@ -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 );