summaryrefslogtreecommitdiff
path: root/src/protocol-constants.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-04 10:40:44 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-04 10:40:44 +0000
commita007678f344943d6ea86392723004a3a72320d9e (patch)
tree5d92b359914fc32906cd81c49dd86eacb0bd818d /src/protocol-constants.h
parent950b833d5c7c63fddd32da986a83a9eb7215c9f4 (diff)
make the torrent add tree view and the files tree view fairly consistent, sharing code where possible. this allows changing priority and enabled using a directory. expand/collapse all buttons. the one taken from Transmission for torrent add dialog now has menus and the mime icons. may be bugs here, I know there's one with directories appearing as mixed and not updating upwards properly, but it's a start.
Diffstat (limited to 'src/protocol-constants.h')
-rw-r--r--src/protocol-constants.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol-constants.h b/src/protocol-constants.h
index 94471ad..f3f9b1d 100644
--- a/src/protocol-constants.h
+++ b/src/protocol-constants.h
@@ -182,8 +182,8 @@ typedef enum {
} tr_torrent_activity;
enum {
- TR_PRI_UNSET = -3,
- TR_PRI_MIXED = -2,
+ TR_PRI_UNSET = -3, // Not actually in the protocol. Just used in UI.
+ TR_PRI_MIXED = -2, // Neither is this.
TR_PRI_LOW = -1,
TR_PRI_NORMAL = 0, /* since NORMAL is 0, memset initializes nicely */
TR_PRI_HIGH = 1