mirror of
https://github.com/transmission/transmission.git
synced 2025-12-26 13:21:44 +00:00
(gtk) #1453: follow Gnome HIG; the "details" dialog should be a "properties" dialog
This commit is contained in:
@@ -220,7 +220,7 @@ refreshTorrentActions( GtkTreeSelection * s )
|
||||
action_sensitize( "delete-torrent", counts.totalCount != 0 );
|
||||
action_sensitize( "verify-torrent", counts.totalCount != 0 );
|
||||
action_sensitize( "open-torrent-folder", counts.totalCount == 1 );
|
||||
action_sensitize( "show-torrent-details", counts.totalCount == 1 );
|
||||
action_sensitize( "show-torrent-properties", counts.totalCount == 1 );
|
||||
|
||||
canUpdate = 0;
|
||||
gtk_tree_selection_selected_foreach( s, accumulateCanUpdateForeach,
|
||||
@@ -1484,7 +1484,7 @@ doAction( const char * action_name,
|
||||
GtkTreeSelection * s = tr_window_get_selection( data->wind );
|
||||
gtk_tree_selection_selected_foreach( s, openFolderForeach, data );
|
||||
}
|
||||
else if( !strcmp ( action_name, "show-torrent-details" ) )
|
||||
else if( !strcmp ( action_name, "show-torrent-properties" ) )
|
||||
{
|
||||
GtkTreeSelection * s = tr_window_get_selection( data->wind );
|
||||
gtk_tree_selection_selected_foreach( s, showInfoForeach, data );
|
||||
|
||||
Reference in New Issue
Block a user