Changeset 1145 for trunk/rtorrent/src/ui/download.cc
- Timestamp:
- 03/15/10 14:31:50 (2 years ago)
- Files:
-
- 1 modified
-
trunk/rtorrent/src/ui/download.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtorrent/src/ui/download.cc
r1144 r1145 150 150 // Get these bindings with some kind of string map. 151 151 152 element->push_column("Name:", te_command("d. get_name="));153 element->push_column("Local id:", te_command("d. get_local_id_html="));154 element->push_column("Info hash:", te_command("d. get_hash="));155 element->push_column("Created:", te_command("cat=$to_date=$d. get_creation_date=,\" \",$to_time=$d.get_creation_date="));152 element->push_column("Name:", te_command("d.name=")); 153 element->push_column("Local id:", te_command("d.local_id_html=")); 154 element->push_column("Info hash:", te_command("d.hash=")); 155 element->push_column("Created:", te_command("cat=$to_date=$d.creation_date=,\" \",$to_time=$d.creation_date=")); 156 156 157 157 element->push_back(""); 158 158 element->push_column("Directory:", te_command("d.get_directory=")); 159 element->push_column("Base Path:", te_command("d. get_base_path="));159 element->push_column("Base Path:", te_command("d.base_path=")); 160 160 element->push_column("Tied to file:", te_command("d.get_tied_to_file=")); 161 161 element->push_column("File stats:", te_command("cat=$if=$d.is_multi_file=\\,multi\\,single,\" \",$d.get_size_files=,\" files\"")); … … 192 192 193 193 element->push_back(""); 194 element->push_column("Upload:", te_command("cat=$to_kb=$d. get_up_rate=,\" KB / \",$to_xb=$d.get_up_total="));195 element->push_column("Download:", te_command("cat=$to_kb=$d. get_down_rate=,\" KB / \",$to_xb=$d.get_down_total="));196 element->push_column("Skipped:", te_command("cat=$to_kb=$d. get_skip_rate=,\" KB / \",$to_xb=$d.get_skip_total="));194 element->push_column("Upload:", te_command("cat=$to_kb=$d.up.rate=,\" KB / \",$to_xb=$d.up.total=")); 195 element->push_column("Download:", te_command("cat=$to_kb=$d.down.rate=,\" KB / \",$to_xb=$d.down.total=")); 196 element->push_column("Skipped:", te_command("cat=$to_kb=$d.skip.rate=,\" KB / \",$to_xb=$d.skip.total=")); 197 197 element->push_column("Preload:", te_command("cat=$pieces.preload.type=,\" / \",$pieces.stats_preloaded=,\" / \",$pieces.stats_preloaded=")); 198 198 … … 290 290 switch (displayType) { 291 291 case DISPLAY_MAX_SIZE: break; 292 default: control->ui()->window_title()->set_title(m_download-> download()->name()); break;292 default: control->ui()->window_title()->set_title(m_download->info()->name()); break; 293 293 } 294 294
