summaryrefslogtreecommitdiff
path: root/src/trg-torrent-add-dialog.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-09 21:47:06 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-09 21:47:06 +0000
commitc0e12ac389135850dcd45ce108f5a6a0200ae03f (patch)
treee7ab9b938e2909f7a40d8fd34a476e301a511052 /src/trg-torrent-add-dialog.c
parente1b13312f975f38d3d7437f28299912eff6947e0 (diff)
issue 174 - exec crash, issue 173 - files first update performance fixed.
Diffstat (limited to 'src/trg-torrent-add-dialog.c')
-rw-r--r--src/trg-torrent-add-dialog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/trg-torrent-add-dialog.c b/src/trg-torrent-add-dialog.c
index bf29b8b..0c25058 100644
--- a/src/trg-torrent-add-dialog.c
+++ b/src/trg-torrent-add-dialog.c
@@ -292,6 +292,7 @@ static gboolean onViewButtonPressed(GtkWidget * w, GdkEventButton * event,
{
return trg_files_tree_view_onViewButtonPressed(w, event, FC_PRIORITY,
FC_ENABLED,
+ TRUE,
G_CALLBACK(set_low),
G_CALLBACK(set_normal),
G_CALLBACK(set_high),
@@ -463,7 +464,7 @@ static void addTorrentFilters(GtkFileChooser * chooser)
}
static void store_add_node(GtkTreeStore * store, GtkTreeIter * parent,
- trg_torrent_file_node * node)
+ trg_files_tree_node * node)
{
GtkTreeIter child;
GList *li;
@@ -483,7 +484,7 @@ static void store_add_node(GtkTreeStore * store, GtkTreeIter * parent,
for (li = node->children; li; li = g_list_next(li))
store_add_node(store, node->name ? &child : NULL,
- (trg_torrent_file_node *) li->data);
+ (trg_files_tree_node *) li->data);
}
static void torrent_not_parsed_warning(GtkWindow * parent)