mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 07:02:30 +00:00
Minor bugfixes to find-file interface etc.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@403 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -45,8 +45,6 @@ PathInput::pressed(int key) {
|
||||
|
||||
} else {
|
||||
receive_do_complete();
|
||||
|
||||
m_showNext = true;
|
||||
}
|
||||
|
||||
return true;
|
||||
@@ -100,7 +98,9 @@ PathInput::receive_do_complete() {
|
||||
mark_dirty();
|
||||
|
||||
// Only emit if there are more than one option.
|
||||
if (++utils::Directory::iterator(r.first) != r.second)
|
||||
m_showNext = ++utils::Directory::iterator(r.first) != r.second;
|
||||
|
||||
if (m_showNext)
|
||||
m_signalShowRange.emit(r.first, r.second);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -246,7 +246,7 @@ print_help() {
|
||||
std::cout << " spacebar Depends on the current view" << std::endl;
|
||||
std::cout << " 1,2 Adjust max uploads" << std::endl;
|
||||
std::cout << " 3,4,5,6 Adjust min/max connected peers" << std::endl;
|
||||
std::cout << " t Query tracker for more peers" << std::endl;
|
||||
std::cout << " t/T Query tracker for more peers / Force query" << std::endl;
|
||||
std::cout << " * Snub peer" << std::endl;
|
||||
std::cout << " right View files" << std::endl;
|
||||
std::cout << " p View peer information" << std::endl;
|
||||
|
||||
+2
-1
@@ -243,7 +243,8 @@ Download::bind_keys() {
|
||||
(*m_bindings)['5'] = sigc::bind(sigc::mem_fun(*this, &Download::receive_max_peers), -5);
|
||||
(*m_bindings)['6'] = sigc::bind(sigc::mem_fun(*this, &Download::receive_max_peers), 5);
|
||||
|
||||
(*m_bindings)['t'] = sigc::bind(sigc::mem_fun(m_download->get_download(), &torrent::Download::set_tracker_timeout), 2 * 1000000);
|
||||
(*m_bindings)['t'] = sigc::bind(sigc::bind(sigc::mem_fun(m_download->get_download(), &torrent::Download::set_tracker_timeout), false), 2 * 1000000);
|
||||
(*m_bindings)['T'] = sigc::bind(sigc::bind(sigc::mem_fun(m_download->get_download(), &torrent::Download::set_tracker_timeout), true), 2 * 1000000);
|
||||
|
||||
(*m_bindings)['p'] = sigc::bind(sigc::mem_fun(*this, &Download::receive_change), DISPLAY_PEER_INFO);
|
||||
(*m_bindings)['o'] = sigc::bind(sigc::mem_fun(*this, &Download::receive_change), DISPLAY_TRACKER_LIST);
|
||||
|
||||
Reference in New Issue
Block a user