mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 14:12:31 +00:00
* 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:
@@ -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) {
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user