Changeset 11693


Ignore:
Timestamp:
Jan 17, 2011, 4:13:45 PM (11 years ago)
Author:
jordan
Message:

(trunk gtk) #3907 "in the details dialog's peers tab, 'status' is a misnomer" -- changed to 'flags'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/details.c

    r11692 r11693  
    11051105    PEER_COL_REQS_CANCELLED_BY_PEER_COUNT_STRING,
    11061106    PEER_COL_ENCRYPTION_STOCK_ID,
    1107     PEER_COL_STATUS,
     1107    PEER_COL_FLAGS,
    11081108    N_PEER_COLS
    11091109};
     
    11331133        case PEER_COL_REQS_CANCELLED_BY_PEER_COUNT_INT:
    11341134        case PEER_COL_REQS_CANCELLED_BY_PEER_COUNT_STRING: return _( "They Cancelled" );
    1135         case PEER_COL_STATUS: return _( "Status" );
     1135        case PEER_COL_FLAGS: return _( "Flags" );
    11361136        default: return "";
    11371137    }
     
    12441244                        PEER_COL_UPLOAD_RATE_DOUBLE, peer->rateToPeer_KBps,
    12451245                        PEER_COL_UPLOAD_RATE_STRING, up_speed,
    1246                         PEER_COL_STATUS, peer->flagStr,
     1246                        PEER_COL_FLAGS, peer->flagStr,
    12471247                        PEER_COL_WAS_UPDATED, TRUE,
    12481248                        PEER_COL_BLOCKS_DOWNLOADED_COUNT_INT, (int)peer->blocksToClient,
     
    14661466        char *       str = NULL;
    14671467        GString *    gstr = g_string_new( NULL );
    1468         gtk_tree_model_get( model, &iter, PEER_COL_STATUS, &str, -1 );
     1468        gtk_tree_model_get( model, &iter, PEER_COL_FLAGS, &str, -1 );
    14691469        for( pch = str; pch && *pch; ++pch )
    14701470        {
     
    15191519    if( more ) view_columns[n++] = PEER_COL_REQS_CANCELLED_BY_PEER_COUNT_STRING;
    15201520    view_columns[n++] = PEER_COL_PROGRESS;
    1521     view_columns[n++] = PEER_COL_STATUS;
     1521    view_columns[n++] = PEER_COL_FLAGS;
    15221522    view_columns[n++] = PEER_COL_ADDRESS;
    15231523    view_columns[n++] = PEER_COL_CLIENT;
     
    16121612                break;
    16131613
    1614             case PEER_COL_STATUS:
     1614            case PEER_COL_FLAGS:
    16151615                r = gtk_cell_renderer_text_new( );
    16161616                c = gtk_tree_view_column_new_with_attributes( t, r, "text", col, NULL );
Note: See TracChangeset for help on using the changeset viewer.