summarylogtreecommitdiffstats
path: root/pyroscope.patch
blob: 38ff3a5bdfac9af7d8003729c03b9faf121ce626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- rtorrent-0.8.6/src/ui/download_list.h	2011-05-03 04:05:34.000000000 +0200
+++ rtorrent-0.8.6/src/ui/download_list.h,pyro	2011-05-03 04:11:23.000000000 +0200
@@ -99,6 +99,7 @@
   void                disable();
 
   void                activate_display(Display d);
+  ElementBase*        display(Display d) { return d < DISPLAY_MAX_SIZE ? m_uiArray[d] : 0; }
 
   core::View*         current_view();
   void                set_current_view(const std::string& name);
--- rtorrent-0.8.7/src/command_helpers.cc.orig	2010-06-26 14:05:08.000000000 +0200
+++ rtorrent-0.8.7/src/command_helpers.cc	2011-05-06 19:42:58.000000000 +0200
@@ -50,2 +50,3 @@
 void initialize_command_local();
+void initialize_command_pyroscope();
 void initialize_command_network();
@@ -61,2 +62,3 @@
   initialize_command_local();
+  initialize_command_pyroscope();
   initialize_command_ui();
--- rtorrent-0.8.7/src/Makefile.am.orig	2010-06-26 14:05:08.000000000 +0200
+++ rtorrent-0.8.7/src/Makefile.am	2011-05-06 19:40:03.000000000 +0200
@@ -23,2 +23,3 @@
 	command_ui.cc \
+	command_pyroscope.cc \
 	control.cc \