Changeset 10173
- Timestamp:
- Feb 11, 2010, 2:55:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/file-list.c
r10172 r10173 389 389 const char * mime_type = isLeaf ? get_mime_type_from_filename( child_data->name ) : DIRECTORY_MIME_TYPE; 390 390 GdkPixbuf * icon = get_mime_type_icon( mime_type, GTK_ICON_SIZE_MENU, build->w ); 391 const int priority = isLeaf ? tr_torrentGetFilePriority( build->tor, child_data->index ) : 0; 392 const gboolean enabled = isLeaf ? tr_torrentGetFileDL( build->tor, child_data->index ) : TRUE; 391 const tr_info * inf = tr_torrentInfo( build->tor ); 392 const int priority = isLeaf ? inf->files[ child_data->index ].priority : 0; 393 const gboolean enabled = isLeaf ? !inf->files[ child_data->index ].dnd : TRUE; 393 394 #if GTK_CHECK_VERSION(2,10,0) 394 395 gtk_tree_store_insert_with_values( build->store, &child_iter, build->iter, INT_MAX,
Note: See TracChangeset
for help on using the changeset viewer.