Changeset 10289


Ignore:
Timestamp:
Feb 26, 2010, 3:06:26 PM (12 years ago)
Author:
charles
Message:

(trunk gtk) #2980 "'Open Folder' behavior can be confusing for single-file torrents" -- fixed in trunk for 1.92

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/torrent-cell-renderer.c

    r10031 r10289  
    332332    else if( info->fileCount > 1 )
    333333        mime_type = DIRECTORY_MIME_TYPE;
     334    else if( strchr( info->files[0].name, '/' ) != NULL )
     335        mime_type = DIRECTORY_MIME_TYPE;
    334336    else
    335337        mime_type = get_mime_type_from_filename( info->files[0].name );
Note: See TracChangeset for help on using the changeset viewer.