Changeset 6742


Ignore:
Timestamp:
Sep 8, 2008, 3:17:18 PM (13 years ago)
Author:
charles
Message:

(gtk) minor comment changes

File:
1 edited

Legend:

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

    r6720 r6742  
    631631                    gboolean enabled;
    632632
    633                     /* get the `enabled' state of the row that was clicked on */
     633                    /* get the `enabled' state of the clicked row */
    634634                    gtk_tree_model_get( model, &iter, FC_IS_FILE, &is_file,
    635635                                                      FC_ENABLED, &enabled,
     
    643643
    644644                    /* apply that new state to the active files */
    645                     tr_torrentSetFileDLs ( tr_torrent_handle( data->gtor ),
    646                                            (tr_file_index_t*)a->data,
    647                                            (tr_file_index_t)a->len,
    648                                            enabled );
     645                    tr_torrentSetFileDLs( tr_torrent_handle( data->gtor ),
     646                                          (tr_file_index_t*)a->data,
     647                                          (tr_file_index_t)a->len,
     648                                          enabled );
    649649                }
    650650
    651651                refresh( data );
     652
     653                /* the click was meant to change the priority or enabled state,
     654                   not to alter which rows were selected, so don't pass this
     655                   event on to the other handlers. */
    652656                handled = isSelected;
    653657
Note: See TracChangeset for help on using the changeset viewer.