diff --git a/configure.ac b/configure.ac index c130b212..c6175ec9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT(rtorrent, 0.6.1, jaris@ifi.uio.no) +AC_INIT(rtorrent, 0.6.2, jaris@ifi.uio.no) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h) diff --git a/doc/rtorrent.1 b/doc/rtorrent.1 index 6ecacfc6..d57fe22e 100644 --- a/doc/rtorrent.1 +++ b/doc/rtorrent.1 @@ -322,7 +322,7 @@ match for the download to be included. \fBstopped\fR, \fBstarted\fR, \fBcomplete\fR, \fBincomplete\fR, .TP -\fBkey_layout = \fIquerty|azerty\fB\fR +\fBkey_layout = \fIqwerty|azerty|qwertz\fB\fR Change the key-bindings. .SH "ADVANCED SETTINGS" .PP diff --git a/doc/rtorrent.1.xml b/doc/rtorrent.1.xml index b0550862..e1e4032c 100644 --- a/doc/rtorrent.1.xml +++ b/doc/rtorrent.1.xml @@ -668,7 +668,7 @@ match for the download to be included. - key_layout = querty|azerty + key_layout = qwerty|azerty|qwertz Change the key-bindings. diff --git a/src/ui/root.cc b/src/ui/root.cc index 489d36f1..1633f34f 100644 --- a/src/ui/root.cc +++ b/src/ui/root.cc @@ -129,6 +129,12 @@ Root::setup_keys() { m_bindings['Q'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_down_throttle), 1); m_bindings['W'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_down_throttle), -1); + } else if (strcasecmp(control->variable()->get_string("key_layout").c_str(), "qwertz") == 0) { + m_bindings['a'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_up_throttle), 1); + m_bindings['y'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_up_throttle), -1); + m_bindings['A'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_down_throttle), 1); + m_bindings['Y'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_down_throttle), -1); + } else { m_bindings['a'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_up_throttle), 1); m_bindings['z'] = sigc::bind(sigc::mem_fun(*this, &Root::adjust_up_throttle), -1);