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
1 changed files with 1 additions and 1 deletions

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