diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-04-08 14:24:25 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-04-08 14:24:25 +0000 |
commit | 070688006ac7cea1639f38c0bb270c191f7dc38f (patch) | |
tree | 258fbf88a6f28a86bef83553e2430e950d972793 /src/trg-torrent-graph.c | |
parent | f74c398577f66488cf5c420f5df318ab801117cc (diff) |
a torrent add dialog based off Transmission GTK (different bencode+action implementation) which allows you to set file priorities, torrent priority, directory in advance. probably needs a little more work.
Diffstat (limited to 'src/trg-torrent-graph.c')
-rw-r--r-- | src/trg-torrent-graph.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/trg-torrent-graph.c b/src/trg-torrent-graph.c index b5ce339..c5e4d4b 100644 --- a/src/trg-torrent-graph.c +++ b/src/trg-torrent-graph.c @@ -17,7 +17,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -/* This graph drawing code was taken from gnome-system-monitor (load-graph.cpp) +/* + * This graph drawing code was taken from gnome-system-monitor (load-graph.cpp) * Converted the class from C++ to GObject, substituted out some STL (C++) * functions, and removed the unecessary parts for memory/cpu. */ @@ -61,7 +62,7 @@ struct _TrgTorrentGraphPrivate { double graph_delx; guint graph_buffer_offset; - GdkColor colors[2]; + GdkColor colors[GRAPH_NUM_LINES]; float data_block[GRAPH_NUM_POINTS * GRAPH_NUM_LINES]; GList *points; |