From bac7d0ba3b2fc4284f01e9c46ed5a93d394b802d Mon Sep 17 00:00:00 2001 From: rakshasa Date: Mon, 20 Aug 2007 13:40:09 +0000 Subject: [PATCH] * Client address resolver support. Patch by Josef Drexler. * Added 'get_name' to the download list window title. * Bumped version numbers. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@960 e378c898-3ddf-0310-93e7-cc216c733640 --- configure.ac | 2 +- src/ui/download_list.cc | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 444ece61..26866be4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT(rtorrent, 0.7.7, jaris@ifi.uio.no) +AC_INIT(rtorrent, 0.7.8, jaris@ifi.uio.no) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h) diff --git a/src/ui/download_list.cc b/src/ui/download_list.cc index 20cd9bef..478abca7 100644 --- a/src/ui/download_list.cc +++ b/src/ui/download_list.cc @@ -203,8 +203,12 @@ DownloadList::activate_display(Display displayType) { // Set title. switch (displayType) { - case DISPLAY_DOWNLOAD_LIST: control->ui()->window_title()->set_title("rTorrent " VERSION " - libTorrent " + std::string(torrent::version())); break; - case DISPLAY_LOG: control->ui()->window_title()->set_title("Log"); break; + case DISPLAY_DOWNLOAD_LIST: + control->ui()->window_title()->set_title("rTorrent " VERSION "/" + std::string(torrent::version()) + " - " + rpc::call_command_string("get_name")); + break; + case DISPLAY_LOG: + control->ui()->window_title()->set_title("Log"); + break; default: break; }