Changeset 2466
- Timestamp:
- Jul 23, 2007, 3:33:04 PM (15 years ago)
- Location:
- trunk/wx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wx/torrent-list.cc
r2465 r2466 98 98 int_v getTorrentColumns( wxConfig * config ) 99 99 { 100 const wxString key = _T(" TorrentListColumns");100 const wxString key = _T("torrent-list-columns"); 101 101 wxString columnStr; 102 if( !config->Read( key, &columnStr ) )103 co lumnStr = _T("name|download-speed|upload-speed|eta|peers|size|done|status|seeds");102 if( !config->Read( key, &columnStr, _T("name|download-speed|upload-speed|eta|peers|size|done|status|seeds") ) ) 103 config->Write( key, columnStr ); 104 104 105 105 int_v cols; … … 185 185 if( descending ) 186 186 prevSortCol = -prevSortCol; 187 std::cerr << __FILE__ << ':' << __LINE__ << " sort col is " << prevSortCol << std::endl;188 187 Rebuild (); 189 188 } … … 529 528 { 530 529 myTorrents.insert( myTorrents.end(), add.begin(), add.end() ); 531 std::cerr << " myTorrents.size() " << myTorrents.size() << std::endl;532 530 Repopulate (); 533 531 } -
trunk/wx/xmission.cc
r2465 r2466 84 84 void MyFrame :: OnOpen( wxCommandEvent& event ) 85 85 { 86 const wxString key = _T(" LastDirectory");86 const wxString key = _T("prev-directory"); 87 87 wxString directory; 88 88 myConfig->Read( key, &directory );
Note: See TracChangeset
for help on using the changeset viewer.