summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-08 19:32:49 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-08 19:32:49 +0000
commit2315e34e6dbb8f88c12200c4ac37b1e168b323f7 (patch)
treefb2939bba46c26db0d8065c97d12980b1a35dc2e /src
parentf0989ec38770aeecbd394c91c54a4e0d58f614d5 (diff)
new torrent add dialog: toggle download checkbox for directories as well as files by default
Diffstat (limited to 'src')
-rw-r--r--src/trg-torrent-add-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-torrent-add-dialog.c b/src/trg-torrent-add-dialog.c
index dd1fac0..2837e62 100644
--- a/src/trg-torrent-add-dialog.c
+++ b/src/trg-torrent-add-dialog.c
@@ -703,11 +703,11 @@ static void store_add_node(GtkTreeStore * store, GtkTreeIter * parent,
gtk_tree_store_set(store, &child, FC_ICON,
node->children ? GTK_STOCK_DIRECTORY :
GTK_STOCK_FILE, -1);
+ gtk_tree_store_set(store, &child, FC_ENABLED, 1, -1);
if (!node->children) {
gtk_tree_store_set(store, &child, FC_INDEX, node->index, -1);
gtk_tree_store_set(store, &child, FC_SIZE, node->length, -1);
gtk_tree_store_set(store, &child, FC_PRIORITY, 0, -1);
- gtk_tree_store_set(store, &child, FC_ENABLED, 1, -1);
}
}