* Added 'system.method.get', 'ui.current_view.set' and 'group.insert'

commands.

* Enabled different ratio settings for different groups of
downloads.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1079 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2008-11-10 18:52:36 +00:00
parent 66a2af991a
commit de8a11c4fd
10 changed files with 138 additions and 10 deletions
+5
View File
@@ -120,6 +120,11 @@ DownloadList::current_view() {
return dynamic_cast<ElementDownloadList*>(m_uiArray[DISPLAY_DOWNLOAD_LIST])->view();
}
void
DownloadList::set_current_view(const std::string& name) {
return dynamic_cast<ElementDownloadList*>(m_uiArray[DISPLAY_DOWNLOAD_LIST])->receive_change_view(name);
}
// This should also do focus_next() or something.
void
DownloadList::unfocus_download(core::Download* d) {
+1
View File
@@ -101,6 +101,7 @@ public:
void activate_display(Display d);
core::View* current_view();
void set_current_view(const std::string& name);
void slot_open_uri(SlotOpenUri s) { m_slotOpenUri = s; }