Changeset 8211 for trunk/gtk/file-list.c


Ignore:
Timestamp:
Apr 10, 2009, 7:16:12 PM (13 years ago)
Author:
charles
Message:

(trunk) have the gtk and qt clients use the same minimum seed ratio in the preferences dialog as the mac uses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/file-list.c

    r8001 r8211  
    151151        priority = tr_torrentGetFilePriority( tor, index );
    152152        enabled  = tr_torrentGetFileDL( tor, index );
    153         mime_type = get_mime_type_from_filename( file );
     153        mime_type = get_mime_type_from_filename( file );
    154154    }
    155155    else
    156156    {
    157157        size  = 0;
    158         mime_type = DIRECTORY_MIME_TYPE;
     158        mime_type = DIRECTORY_MIME_TYPE;
    159159    }
    160160
     
    185185
    186186    if( icon != NULL )
    187         g_object_unref( icon );
     187        g_object_unref( icon );
    188188
    189189done:
     
    456456    /* instantiate the model */
    457457    store = gtk_tree_store_new ( N_FILE_COLS,
    458                                 GDK_TYPE_PIXBUF,  /* icon */
     458                                GDK_TYPE_PIXBUF,  /* icon */
    459459                                 G_TYPE_STRING,    /* label */
    460460                                 G_TYPE_INT,       /* prog [0..100] */
Note: See TracChangeset for help on using the changeset viewer.